Commit 176c567c authored by Erik Inge Bolsø's avatar Erik Inge Bolsø Committed by Alexandre Julliard

dinput: Fix joystick axis remapping.

parent a39dec21
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment