Fixed mixup between X and Y dpad axis
This commit is contained in:
parent
c2cc5c053e
commit
f7706117fa
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue