dinput: Improve filtering of HID device state input report.
commit81bef14324be69be190ef3fcfe301a7063e39351
authorRémi Bernon <rbernon@codeweavers.com>
Wed, 29 Sep 2021 08:24:57 +0000 (29 10:24 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 29 Sep 2021 19:38:13 +0000 (29 21:38 +0200)
tree381056ccaa35316034416e8fc4dcadc08c904bf2
parent6c26901c933dd9f1e101a896282f22ac2e193f34
dinput: Improve filtering of HID device state input report.

Make sure we only read input object from the device state input report
and only look for generic and button usage pages to find the report.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/dinput/joystick_hid.c