-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
D-pad gets stuck on Retrolink SNES controller #44100
Comments
I can confirm this bug was introduced in 3.2.3 too. In 3.2.2: In 3.2.3: It may be caused by the SDL2 Gamepad module on top of which Godot is built. For instance the table says "Button 3 on that brand of controller on operating system X = A button / button 0 (not sure) on the standardized layout". The translation table is updated from time to time, and Godot 3.2.3 may have used an updated version. The good news is that, as a workaround, it is possible to override those mappings at runtime.
My approach for this gamepad model:
` |
Can you test 3.2.4 beta 3? |
I can confirm it worked in 3.2.4 beta 3. Thanks! |
Godot version:
3.2.3 official
OS/device including version:
Windows 10 home
Issue description:
I am attempting to demonstrate controller support on my project. I have a new Retrolink SNES controller. This controller works properly when I run the SDL2 Gamepad Tool. I can generate a mapping for it.
03000000790000001100000000000000,Retrolink SNES Controller,platform:Windows,a:b2,b:b1,x:b3,y:b0,back:b8,start:b9,leftshoulder:b4,rightshoulder:b5,dpup:-a4,dpdown:+a4,dpleft:-a3,dpright:+a3,
When I attempt to use this controller in Godot, all buttons work properly with the exception of the D-pad. When I press a D-pad button it registers being pressed but never registers being raised. I see this issue not only in my own project, but also in the standard Godot "Joypads Demo" project. It may be a unique issue to this controller, but the controller works fine in the SDL2 Gamepad tool, as well as with ZSNES.
This image shows all of the D-pad arrows stuck in the depressed position on the Joypads Demo.
This is the controller:
https://www.amazon.com/gp/product/B01MYUDDCV/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
Steps to reproduce:
I am not sure how someone can reproduce the error without the controller, but any help would be appreciated.
Minimal reproduction project:
See above.
The text was updated successfully, but these errors were encountered: