mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 09:50:52 +00:00
dinput: Use correct flag for object instance.
DIDFT_AXIS is a generic mask for absolute and relative axes.
This commit is contained in:
parent
10fca47ba4
commit
17839bab6c
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue