dinput: Fix joystick axis remapping.

This commit is contained in:
Erik Inge Bolsø 2007-08-01 22:19:45 +02:00 committed by Alexandre Julliard
parent a39dec21e2
commit 176c567cb3

View file

@ -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 */