-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
Assure mapping of all buttons of game controllers with less than 15 buttons #1499
Assure mapping of all buttons of game controllers with less than 15 buttons #1499
Conversation
I'm a bit confused by the proposed fix here. I guess it's hard to understand the issue, without having a way to recreate it here. Are you saying that the controller reports less buttons than it actually has, so there are some with a missing mapping? |
In the Custom Controls menu in Amiberry only the physical buttons (i.e. these which the controller config file reports) are enabled. All others are greyed out / disabled.
In retroarch.cpp, all buttons are reported, but later in the processing they get "cut off". For instance, an Controller with 13 buttons will be processed without the Left and Right (the 14th and 15th element of the mapping table). You may simulate this behaviour with any controller on Retropie, if it is helpful on your side:
Mine looks like this for a DB9/Atari controller:
That way you should able to reproduce the effect. |
Do I understand correctly then, that this is really a GUI issue? If the problem is that custom controls disables the dropdowns for any non-existing buttons, we can probably fix that in the GUI Panel there. |
In the GUI (=the Amiberry configuration menu) all gamepad movements are functional (in this case Left and Right work in the GUI). However, the Left and Right movement do not work in-game or in the Amiga Test Kit.
In the Custom Controls the available buttons do reflect the actual buttons (i.e. those listed in the Retroarch Controller cfg file). Buttons not available are disabled/greyed out. No issue here. |
Sorry, I'm still not 100% clear on where the issue is here. Let's try to drill down to what we have so far.
Did I get all the above correctly? |
Nvm. The perils of remote co-op. :)
Confirmed from my side.
Confirmed from my side.
Confirmed from my side, iff there are less than 15 buttons configured in Retroarch's controller
Confirmed from my side, when the Retroarch's controller |
This seems a bit weird to me then, and especially the proposed changes don't look right.
Considering all the above, I think we need a different kind of fix. And I need to recreate this locally, in order to better understand what is happening, in order to fix it. :) I'll give it a try with the retroarch config you pasted above and see where we get. But this PR as it stands, will not be merged for now. |
Fixes #1493
Changes proposed in this pull request:
@midwan