Fixed mixup between X and Y dpad axis

This commit is contained in:
Ingo Ruhnke 2010-12-13 22:24:13 +01:00
parent c2cc5c053e
commit f7706117fa

View file

@ -663,7 +663,7 @@ float get_axis_float(XboxGenericMsg& msg, XboxAxis axis)
{
return -1;
}
else if (msg.xbox360.dpad_down)
else if (msg.xbox360.dpad_right)
{
return 1;
}
@ -716,7 +716,7 @@ float get_axis_float(XboxGenericMsg& msg, XboxAxis axis)
{
return -1;
}
else if (msg.xbox.dpad_down)
else if (msg.xbox.dpad_right)
{
return 1;
}