Confused about swapping A/B buttons on EmulationStation
-
Hello! I have a 8bitdo SN30pro controller. I mapped it associating buttons with no problems.
As most of you no in SNES controllers A button is to the right and B is at the bottom.
I'm ok with that and i don't wanna map A button to B button because the default layout is perfect with most of retroarch cores controls.My problem is that I don't like to press the button located at the right to select systems or games in EmulationStation, so I tried to swap A/B button in EmulationStation tool in Retropie Setup menu.
I setted to swapped but after I do it nothing changes, to access systems and games I always have to press the A button (the button at the right).Can you please help me?
-
@chuck_b you have to reconfigure your controller on emulation station after changing it.
-
@buzz Yes I did.
I mapped A to A, B to B etc... just like prevously -
@chuck_b and restarted?
-
Yes. Several times.
I also notes on ES menu at the bottom the following:
Y -> favourites
X -> random
B -> back
A -> launchSo it seems like nothing changed
-
I just swap buttons from ES configurations in retropie setup like you did, reset controll and thats it. I know in retroarch you can add a line in the config to do the same. I would try reset controllers, reboot and try one more time.
-
@bizzar721 what do you mean exactly for "reset controllers"?
I just remapped the buttons -
@Chuck_B - After you set the option in the settings make sure to reboot. That's important. After you reboot configure your controller again but make sure to still map A=A and B=B and it will swap them automatically once the option is set from there on out configuring controllers. You have to reconfigure all controllers again after setting the option and rebooting.
If you have the option set, reboot and then try to map A=B and B=A it will swap them back incorrectly the way you don't want. With the option set you have to think in reverse of what you want so to speak.
-
@riverstorm why to map A=B and B=A?
The "swapped option" purpose is to avoid that. Am I right? -
@Chuck_B - Sorry if the example made it more confusing. I was trying to illustrate that you need to be aware when the option is set to "swapped" when initializing input devices due to A and B being swapped immediately. If you forget that you set that option it could get confusing, when configuring controllers and the A/B buttons don't align with what you pressed. Say you decide to manually swap A/B and that flag is set. I just keep that setting in the back of my mind when troubleshooting input. Disregard the example.
Basically it's about as straight forward as you can get. Set the option in RetroPie setup to "swapped", reboot your Pi, reconfigure your input devices from ES and viola it should work if all went well.
-
@Riverstorm I just tried. Set "swapped", performed reboot and reconfigurated my controller making A=A, B=B etc.
Still need to press A to select and B to cancel
-
@chuck_b said in Confused about swapping A/B buttons on EmulationStation:
8bitdo SN30pro controller
@Chuck_B - I am not sure what to try at this point. I've only used 360 controllers but I've never had an issue, with any version of RP. It's just works using the few steps listed above.
You could manually swap them in the file below or at least see what the current values are for a and b
<input name="b" type="button" id="1" value="1"/>
and<input name="a" type="button" id="0" value="1"/>
in the file/opt/retropie/configs/all/emulationstation/es_input.cfg
looking for your controller in the relevant section.Doing that way though you would have to manually swap all new input devices only once but if you add new input devices frequently it adds extra steps.
-
Maybe I misenderstood the swapped option purpose.
Should it reverse the A/B buttons of the virtual controls of EmulationStation? -
@chuck_b said in Confused about swapping A/B buttons on EmulationStation:
Maybe I misenderstood the swapped option purpose.
Should it reverse the A/B buttons of the virtual controls of EmulationStation?Yes, that's it exactly. Basically you configure your controller after setting the option. Then A/B are correctly positioned for say NES or SNES games but Emulationstation has A/B swapped so you may 'select' with the "south" button and go 'back' with the "east".
Your ES controls are separate from your emulator controls.
-
@riverstorm I've been trying the same thing. I actually want A/B to be east, in both emulation station and games, however in games it always reverses that A is south and B is east.
The swap config makes it do the same in ES, so it's consistent, however I want it to be A = east everywhere. In the controller set up, this is what I set, and in ES, that is what it does, however not in games... Do I have to edit config files and set up per emulator? I thought this is what retroarch was doing for you?
-
@riverstorm Do I have to edit config files and set up per emulator? I thought this is what retroarch was doing for you?
You might need to do some tweaking it depends on the emulator. You're correct though that's what RA is for but there's so many scenarios they don't always hit the mark with all things perfectly.
-
@riverstorm Auto Configuration should by Disabled or Enabled?
-
@chuck_b said in Confused about swapping A/B buttons on EmulationStation:
@riverstorm Auto Configuration should by Disabled or Enabled?
I leave auto configuration enabled for typical use but you might have a reason or an advanced configuration that requires it to be disabled.
-
@riverstorm It's the wrong way round in every emulator. I just learned to live with it so far, and play nintendo style, instead of sega style ;-)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.