Rémi Bernon : dinput: Introduce new HID joystick backend.
Alexandre Julliard
julliard at winehq.org
Thu Aug 26 15:22:32 CDT 2021
Module: wine
Branch: master
Commit: afa1e60b279842c1e8dfebde0cc6a9a10ad82ee2
URL: https://source.winehq.org/git/wine.git/?a=commit;h=afa1e60b279842c1e8dfebde0cc6a9a10ad82ee2
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Wed Aug 25 18:20:27 2021 +0200
dinput: Introduce new HID joystick backend.
This adds a new joystick backend, implemented on top of HID and without
any host dependencies. This will be progressively implementated, and
it's not going to be usable until at least a few more patches.
Because of that, and because it may also introduce regressions compared
to the existing backends, it is disabled by default and is optionally
enabled using the following global registry key:
[HKCU\\Software\\Wine\\DirectInput\\Joysticks]
"HID"="enabled"
Or using the corresponding AppDefaults registry key:
[HKCU\\Software\\Wine\\AppDefaults\\<app.exe>\\DirectInput\\Joysticks]
"HID"="enabled"
This setting will be removed later, when it becomes usable enough, to
use the individual device disable mechanism available in joy.cpl.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dinput/Makefile.in | 3 +-
dlls/dinput/dinput_main.c | 3 +-
dlls/dinput/dinput_private.h | 1 +
dlls/dinput/joystick_hid.c | 358 +++++++++++++++++++++++++++++++++++++++++++
dlls/dinput8/Makefile.in | 3 +-
5 files changed, 365 insertions(+), 3 deletions(-)
Diff: https://source.winehq.org/git/wine.git/?a=commitdiff;h=afa1e60b279842c1e8dfebde0cc6a9a10ad82ee2
More information about the wine-cvs
mailing list