Configure controller by system
hello, I built my first Retropie system using a raspberry pie 4.
I have some SNES style controllers that work fine for SNES and GBA but I would rather change the config for NES to use Y and B instead of B and A.
The section on https://retropie.org.uk/docs/RetroArch-Configuration/
Says to go to the Retroarch quick menu > Controllers> then to Configure the buttons the way you want...
This is where I am stuck I do not see an option for configuring buttons at this point and I am a bit lost.
Any advice would be greatly appreciated.
rbaker last edited by
@jasonmadeapie You configure the controllers during first boot? How did you configure them in the first instance? Fill out this list of info to enable further help: https://retropie.org.uk/forum/topic/3/read-this-first
theissdev last edited by
@jasonmadeapie I go in and manually edit the system's retroarch.cfg. It's basically an override file of /opt/retropie/configs/all/retroarch.cfg (nes one would be at /opt/retropie/configs/nes/retroarch.cfg).
So if I knew the default values of a and b were:
input_player1_a = "space" input_player1_b = "alt"
I would add override lines in the nes retroarch.cfg to override the a and b input values like:
input_player1_a = "alt" input_player1_b = "space"
Since that's in the nes retroarch.cfg, that'll only swap those buttons when playing in a nes core.
Yep so the controller was initially configured on launch but you are also able to configure by the system in this case I wish to configure different mapping for NES than SNES.
Thanks! I will try this out. I was hoping there was something in the UI as it seemed to suggest it within the article I linked in my initial query but that is just not working for me.
theissdev last edited by
@jasonmadeapie Saving configs in the ui was always hit and miss for me. Sometimes wouldn't save for w/e reason, so I've always done it this way. Can get a little squirrely if you're shifting a ton, but for 2-3 buttons, should be good. √
@jasonmadeapie How do you change the controls ? When you open the controls menu (for P1), you have on the left the button on your RetroPad (your controller) and on the right the emulated buttons. Use Left/Right to change the values on the right, cycling between the possible buttons that the system accepts. Go back in game and test the buttons, then once you're set, just save a Core or Content Remap from the Controls menu.