Rémi Bernon : dinput: Enumerate all HID joystick objects at once.

Alexandre Julliard julliard at winehq.org
Mon Sep 27 15:21:43 CDT 2021


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

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Mon Sep 27 09:43:04 2021 +0200

dinput: Enumerate all HID joystick objects at once.

Instead of using individual helpers.

The force-feedback EnumObjects test shows that we should enumerate the
output objects in their original order in the HID report descriptor, not
depending on their button/value nature.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dinput/joystick_hid.c | 128 ++++++++++++++++++---------------------------
 dlls/dinput8/tests/hid.c   |   1 -
 2 files changed, 51 insertions(+), 78 deletions(-)

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



More information about the wine-cvs mailing list