Changing two buttons in the retroarch.cfg will not work
-
Hi,
I try to change two buttons (X with the Y button) in the retroarch.cfg file, but it will not work, the change take not effect.I copy the file to Windows, change the enty, copy the file back, restart Emulationstation but still the old layout seems to work.
I restart whole RaspberryPie, same (no change from the buttons)These are the lines, from /opt/retropie/configs/all/retroarch.cfg :
... input_player1_x = "a" input_player1_x_axis = "nul" input_player1_x_btn = "nul" input_player1_x_mbtn = "nul" ... input_player1_y = "s" input_player1_y_axis = "nul" input_player1_y_btn = "nul" input_player1_y_mbtn = "nul"
Is there a misunderstanding or a mistake from my side,
I thought Retropie Emulators will take these informations for button layout ...I have no Emulator specific key-configs in the subfolders!
Only standard entries are there, here .i.e. in mame-libretro:
# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/mame-libretro/" # video_smooth = "" # video_shader_enable = "" input_overlay_enable = "true" #include "/opt/retropie/configs/all/retroarch.cfg"
-
You're changing the button mapping for a keyboard type input - if you expect that buttons on the gamepad to work differently, then this is why they're not.
-
@mitu Ok, uppps...
And where can I find the layout configuration file from the phy. buttons I have defined?
thx!
-
If you want to remap the buttons, then use the Core Input Remapping menu in the RGUI - https://retropie.org.uk/docs/RetroArch-Configuration/#core-input-remapping. No need to edit files and re-configure the controllers globally.
-
@mitu Ok, I will check this.
But in my case, I just want to switch 2 Buttons globally, is there no "simple" config file I can edit and change two lines ?
Same as I reconfigure the joystick new (in principle I want to prevent this step, so my posting here)
-
Your gamepad is configured in
\\retropie\configs\all\retroarch-joypads
, it has its own configuration file. You can change it there, but it's not so straightforward since the mappings are just some numbers.EDIT: you get the same result if you re-map your input in Emulationstation.
-
Thanks, this was the file I'm looking for ...
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.