Commit 173ed7e6 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winebus: Prefer hidraw backends for DS4 and DS5 gamepads.

parent 13d8571b
......@@ -412,6 +412,9 @@ static BOOL is_hidraw_enabled(WORD vid, WORD pid)
if (check_bus_option(L"DisableHidraw", FALSE)) return FALSE;
if (is_dualshock4_gamepad(vid, pid)) prefer_hidraw = TRUE;
if (is_dualsense_gamepad(vid, pid)) prefer_hidraw = TRUE;
RtlInitUnicodeString(&str, L"EnableHidraw");
if (!NtQueryValueKey(driver_key, &str, KeyValuePartialInformation, info,
sizeof(buffer) - sizeof(WCHAR), &size))
......
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