Ivo Ivanov : dinput: Ignore input caps from the PID usage page.

Alexandre Julliard julliard at winehq.org
Thu Oct 14 15:09:33 CDT 2021


Module: wine
Branch: master
Commit: eb223bf58da4fd1b5b6c9e4db391453b2b77972b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=eb223bf58da4fd1b5b6c9e4db391453b2b77972b

Author: Ivo Ivanov <logos128 at gmail.com>
Date:   Thu Oct 14 09:39:53 2021 +0200

dinput: Ignore input caps from the PID usage page.

Prevents PID usage page input reports from being parsed and listed in
the device objects, increasing the total number of buttons or axes.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51873
Signed-off-by: Ivo Ivanov <logos128 at gmail.com>
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dinput/joystick_hid.c |  16 ++++-
 dlls/dinput8/tests/hid.c   | 171 ++++++++++++++++++++++++++-------------------
 2 files changed, 115 insertions(+), 72 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=eb223bf58da4fd1b5b6c9e4db391453b2b77972b



More information about the wine-cvs mailing list