mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-23 03:55:44 -04:00
Correctly init p_povPosition (#531)
This commit is contained in:
parent
004b88e02e
commit
1b8f662090
@ -207,6 +207,7 @@ MxResult LegoInputManager::GetJoystickState(MxU32* p_joystickX, MxU32* p_joystic
|
|||||||
// normalize values acquired from joystick axes
|
// normalize values acquired from joystick axes
|
||||||
*p_joystickX = ((xPos + 32768) * 100) / 65535;
|
*p_joystickX = ((xPos + 32768) * 100) / 65535;
|
||||||
*p_joystickY = ((yPos + 32768) * 100) / 65535;
|
*p_joystickY = ((yPos + 32768) * 100) / 65535;
|
||||||
|
*p_povPosition = -1;
|
||||||
|
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user