https://bugs.winehq.org/show_bug.cgi?id=46361
--- Comment #11 from imbert.jacquesolivier@gmail.com --- More informations with WINEDEBUG=+rawinput
I have "error 2" with "Failed to open device file".
00d2:trace:rawinput:GetRawInputDeviceList devices 0x10361dd8, device_count 0x33f234, size 8. 00d2:err:rawinput:find_hid_devices Failed to open device file L"\\?\HID#VID_0006&PID_0007&IM_1#2&03000000060000000700000002000000&1#{4D1E55B2-F16F-11CF-88CB-001111000030}", error 2. 00d2:err:rawinput:find_hid_devices Failed to open device file L"\\?\HID#VID_0006&PID_0007&IM_2#2&03000000060000000700000002000000&2#{4D1E55B2-F16F-11CF-88CB-001111000030}", error 2. 00d2:err:rawinput:find_hid_devices Failed to open device file L"\\?\HID#VID_0006&PID_0007&IM_3#2&03000000060000000700000002000000&3#{4D1E55B2-F16F-11CF-88CB-001111000030}", error 2. 00d2:err:rawinput:find_hid_devices Failed to open device file L"\\?\HID#VID_0026&PID_0027&IM_1#2&03000000260000002700000002000000&0#{4D1E55B2-F16F-11CF-88CB-001111000030}", error 2. 00d2:trace:rawinput:find_hid_devices Found HID device L"\\?\HID#VID_045E&PID_02EA&IG_1#769&030000005E040000EA02000001030000&0#{4D1E55B2-F16F-11CF-88CB-001111000030}". 00d2:trace:rawinput:GetRawInputDeviceList devices 0x10362d00, device_count 0x33f234, size 8. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x1, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x1, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x2, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x2, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x10363000, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x10363000, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceList devices 0x10361dd8, device_count 0x33f234, size 8. 00d2:trace:rawinput:GetRawInputDeviceList devices 0x10362d00, device_count 0x33f234, size 8. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x1, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x1, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x2, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x2, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x10363000, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x10363000, command 0x2000000b, data 0x33f210, data_size 0x33f230. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x1, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x1, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x1, command 0x20000007, data 0x33f2a0, data_size 0x33f284. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x1, command 0x20000007, data 0x33f2a0, data_size 0x33f284. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x2, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x2, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x2, command 0x20000007, data 0x33f2a0, data_size 0x33f284. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x2, command 0x20000007, data 0x33f2a0, data_size 0x33f284. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x10363000, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x10363000, command 0x2000000b, data 0x33f25c, data_size 0x33f288. 00d2:trace:rawinput:GetRawInputDeviceInfoA device 0x10363000, command 0x20000007, data 0x33f2a0, data_size 0x33f284. 00d2:trace:rawinput:GetRawInputDeviceInfoW device 0x10363000, command 0x20000007, data 0x33f2a0, data_size 0x33f284. Total HID GamePad Count: 0