[PATCH 0/1] MR5058: winebus.sys: Prefer hidraw if it is the only backend enabled.
This resumes the previous behavior when hidraw is the only backend enabled. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5058
From: Ivo Ivanov <logos128(a)gmail.com> --- dlls/winebus.sys/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/winebus.sys/main.c b/dlls/winebus.sys/main.c index 2476e3a9cdb..fa0a9a998d7 100644 --- a/dlls/winebus.sys/main.c +++ b/dlls/winebus.sys/main.c @@ -412,6 +412,9 @@ static BOOL is_hidraw_enabled(WORD vid, WORD pid) if (check_bus_option(L"DisableHidraw", FALSE)) return FALSE; + if (!check_bus_option(L"Enable SDL", 1) && check_bus_option(L"DisableInput", 0)) + prefer_hidraw = TRUE; + if (is_dualshock4_gamepad(vid, pid)) prefer_hidraw = TRUE; if (is_dualsense_gamepad(vid, pid)) prefer_hidraw = TRUE; -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/5058
This merge request was approved by Rémi Bernon. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5058
participants (3)
-
Ivo Ivanov -
Ivo Ivanov (@logos128) -
Rémi Bernon