dinput: Use correct flag for object instance.

DIDFT_AXIS is a generic mask for absolute and relative axes.
This commit is contained in:
Vitaliy Margolen 2007-02-05 13:23:15 -07:00 committed by Alexandre Julliard
parent 10fca47ba4
commit 17839bab6c
1 changed files with 1 additions and 1 deletions

View File

@ -829,7 +829,7 @@ static void joy_polldev(JoystickImpl *This) {
if (number < 12)
{
inst_id = DIDFT_MAKEINSTANCE(jse.number) | (number < 8 ? DIDFT_AXIS : DIDFT_POV);
inst_id = DIDFT_MAKEINSTANCE(jse.number) | (number < 8 ? DIDFT_ABSAXIS : DIDFT_POV);
value = map_axis(This, jse.value, number);
/* FIXME do deadzone and saturation here */