mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
CPad fix
This commit is contained in:
1 parent
3989e3df18
commit
077bcf1c82
1 file changed
+1
-1
+1
-1
@@ -1610,7 +1610,7 @@ int16 CPad::GetSteeringUpDown(void)
|
||||
case 2:
|
||||
{
|
||||
int16 axis = NewState.LeftStickY;
|
||||
int16 dpad = (NewState.DPadUp - NewState.DPadDown) / 2;
|
||||
int16 dpad = (NewState.DPadDown - NewState.DPadUp) / 2;
|
||||
|
||||
if ( Abs(axis) > Abs(dpad) )
|
||||
return axis;
|
||||
|
||||
Reference in new issue
Block a user