winebus.sys: Prefer hidraw if it is the only backend enabled.
This commit is contained in:
parent
8cb68e43de
commit
9a0e244d51
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue