https://bugs.winehq.org/show_bug.cgi?id=45681
Bug ID: 45681 Summary: SDL2 Game Controller API not working anymore with Wine 3.14 Product: Wine Version: 3.14 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: lahvuun@gmail.com Distribution: ---
I have an old dinput controller which most games don't detect, so I use the SDL2 Game Controller API by setting the SDL_GAMECONTROLLERCONFIG environmental variable.
When running games with Wine 3.14 the controller is no longer detected. Wine 3.13 still works properly. I tested this with two games: The Witcher 3 and Deus Ex: Human Revolution, both not detecting the controller.
The exact variable I use is: SDL_GAMECONTROLLERCONFIG=030000004f04000020b3000010010000,THRUSTMASTER 2 in 1 DT,a:b0,b:b2,x:b1,y:b3,back:b8,start:b9,leftstick:b10,rightstick:b11,leftshoulder:b4,rightshoulder:b6,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a2,righty:a3,lefttrigger:b5,righttrigger:b7,platform:Linux,
https://bugs.winehq.org/show_bug.cgi?id=45681
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12@gmail.com
--- Comment #1 from Zebediah Figura z.figura12@gmail.com --- This was probably fixed by 9ccf51e3c12b95d06b5cf8bfffc3b5990977146f. If you can retest with latest master, please do; otherwise, this fix will be released in 3.15.
https://bugs.winehq.org/show_bug.cgi?id=45681
--- Comment #2 from Ilya Trukhanov lahvuun@gmail.com --- (In reply to Zebediah Figura from comment #1)
This was probably fixed by 9ccf51e3c12b95d06b5cf8bfffc3b5990977146f. If you can retest with latest master, please do; otherwise, this fix will be released in 3.15.
Yes, the controller is detected properly with master. I was also able to apply this commit as a patch to the 3.14 release, with the same result.
https://bugs.winehq.org/show_bug.cgi?id=45681
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Component|-unknown |setupapi Keywords| |regression Fixed by SHA1| |9ccf51e3c12b95d06b5cf8bfffc | |3b5990977146f Status|UNCONFIRMED |RESOLVED Regression SHA1| |86d26dded5560d6d8adb195372f | |0676d1f7229b0
--- Comment #3 from Zebediah Figura z.figura12@gmail.com --- Thanks, marking fixed then.
https://bugs.winehq.org/show_bug.cgi?id=45681
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.15.