https://bugs.winehq.org/show_bug.cgi?id=47461
Bug ID: 47461 Summary: XInput: XBox 360 gamepads no longer detected (since wine 4.7) Product: Wine Version: 4.11 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: xinput Assignee: wine-bugs@winehq.org Reporter: felixhaedicke@web.de Distribution: ---
Since Wine 4.7, all my applications which use the XInput API for accessing gamepads cannot find my Xbox 360 Wireless Controllers any more.
Checked with the following applications: * Blur * Cemu - http://cemu.info/ * XInputTest - https://github.com/chrizonix/XInputTest
Messages in wine-4.7 with XInputTest (very similar with other applications): WINEDEBUG=+xinput wine XInputTest_1000_Samples.exe 001f:fixme:setupapi:SetupDiBuildDriverInfoList : stub 0x113b18, 0xc7f4c8, 2 001f:err:plugplay:install_device_driver Failed to build compatible driver list, error 0x78. 0009:trace:xinput:XInputGetState (index 0, state 00641A08)! 0009:trace:xinput:XInputGetState (index 0, state 00641A08)! Error! Player 1 - XBOX 360 Controller Not Found!
And in wine-4.11: WINEDEBUG=+xinput,+setuapi wine XInputTest_1000_Samples.exe 001e:err:setupapi:open_driver_key Failed to open driver key, error 2. 001e:err:setupapi:open_driver_key Failed to open driver key, error 2. 001f:err:setupapi:SetupDiSelectBestCompatDrv No compatible drivers were enumerated for device L"SDLJOY\VID_045E&PID_02A1&IG_0\256&030000005E040000A102000000010000&0&0". 001f:err:plugplay:install_device_driver Install function 0x17 failed, error 0xe0000228. 0009:trace:xinput:XInputGetState (index 0, state 00641A08)! 0009:trace:xinput:XInputGetState (index 0, state 00641A08)! Error! Player 1 - XBOX 360 Controller Not Found! Press Enter Key To Exit
And in wine-4.6 (which works fine): WINEDEBUG=+xinput,+setuapi wine XInputTest_1000_Samples.exe 0009:trace:xinput:XInputGetState (index 0, state 0x531a08)! 0009:trace:xinput:HID_find_gamepads Found gamepad 0 L"\\?\HID#VID_045E&PID_02A1&IG_1#256&030000005E040000A102000000010000&0#{4D1E55B2-F16F-11CF-88CB-001111000030}" Ready! Waiting for 0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FC8C 1 C) semi-stub 0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FA7C 1 C) semi-stub 1000 Samples (Move Left Stick)0009:fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0032FC6C 1 C) semi-stub 0009:trace:xinput:XInputGetState (index 0, state 0x531a08)! 0009:trace:xinput:XInputGetState (index 0, state 0x531a08)! 0009:trace:xinput:XInputGetState (index 0, state 0x531a08)! 0009:trace:xinput:XInputGetState (index 0, state 0x531a08)! 0009:trace:xinput:XInputGetState (index 0, state 0x531a08)! 0009:trace:xinput:XInputGetState (index 0, state 0x531a08)! 0009:trace:xinput:XInputGetState (index 0, state 0x531a08)! ...
Tested with unmodified Wine builds.