Commit 9a0e244d authored by Ivo Ivanov's avatar Ivo Ivanov Committed by Alexandre Julliard

winebus.sys: Prefer hidraw if it is the only backend enabled.

parent 8cb68e43
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment