mirror of
https://github.com/reactos/wine.git
synced 2024-11-26 21:20:25 +00:00
dinput: Fix joystick axis remapping.
This commit is contained in:
parent
a39dec21e2
commit
176c567cb3
@ -763,7 +763,7 @@ static void joy_polldev(JoystickImpl *This) {
|
||||
|
||||
if (number < 12)
|
||||
{
|
||||
inst_id = DIDFT_MAKEINSTANCE(jse.number) | (number < 8 ? DIDFT_ABSAXIS : DIDFT_POV);
|
||||
inst_id = DIDFT_MAKEINSTANCE(number) | (number < 8 ? DIDFT_ABSAXIS : DIDFT_POV);
|
||||
value = map_axis(This, jse.value, number);
|
||||
/* FIXME do deadzone and saturation here */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user