[Bug 59901] New: Nintendo Switch Pro Controller is forced as a DirectInput device
http://bugs.winehq.org/show_bug.cgi?id=59901 Bug ID: 59901 Summary: Nintendo Switch Pro Controller is forced as a DirectInput device Product: Wine Version: 11.11 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@list.winehq.org Reporter: hibbsncc1701@gmail.com Distribution: --- The Nintendo Switch Pro Controller in USB mode (idVendor=057e, idProduct=2009, bcdDevice= 2.00) gets forced into being a DirectInput device on all subsequent prefix launches after the first one when it is plugged in. I.e. When the controller is first detected by a prefix, it's detected correctly as a xinput controller, but after that initial detection done by the prefix, all subsequent launches of that prefix force it into being a DirectInput device. xinput will report no connected controllers to apps, but the "Game Controllers" control panel applet will still show it's button presses on the xinput tab, and all others. The Joysticks tab claims it's DirectInput. Attempting to reset the pro controller back to xinput fails. (The reset button on the joysicks tab doesn't do anything.) Deleting the prefix and recreating it forces wine back into the initial detection behavior, but exiting and relaunching the prefix causes the bug to occur again. Pulling up regedit shows nothing in HKCU\Software\Wine\DirectInput or HKCU\Software\Wine\DirectInput\Joysticks. Looking under HKCU\System\CurrentControlSet\Control\MediaProperties\PrivateProperties\DirectInput shows a key with the controller's VID and PID. (Along with \calibration\0 subkeys.) Deleting the key with the controller's VID and PID, exiting and relaunching the prefix makes wine redetect the controller as xinput again, but the registry key gets recreated and the bug occurs again on subsequent prefix launches. So it appears the existence of this key overrides the xinput controller to DirectInput, but wine's Control Panel applet cannot reset it. Nor is it possible to keep it as a xinput device. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59901 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |hardware -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla