Better way to change hot key bindings for multiple systems?
-
Either adjust them in the retroarch.cfg under the ALL folder in the configs OR adjust them on the actual retropad controller file under
opt/retropie/configs/all/retroarch-joypads
It sounds like you are adjusting the retroarch.cfg in each system individually. If they are the same throughout, use the global settings above.
-
Adjusting them under All doesn't do anything, it's as if the individual CFGs override it. Which makes me wonder what the point of the "all" CFG is. I'll look into the Retropad settings, does it have a place for the hotkey bindings or just regular Retropad button assignments?
-
By default, any setting you put into a system specific retroarch.cfg file will override the settings in the ALL file.
And yes, the retroarch joypad settings have assignments for every hotkey and they can be removed or changed in that file. If you want to set hotkeys for all emulators to be the same, that is where you should do it.
A good rule of thumb is you shouldn't be making any changes to in game controls or hotkeys in any retroarch.cfg, you should rely on the joypad auto-mapped files for global hotkey changes (on a per controller basis), and remap files (.rmp) for system specific changes to in-game controls.
-
Hmm that's good to know. Sounds like that could be exactly what I need. So what would be a way to return all my individual system retroarch.cfg files to their default and have the 'All' config take over?
-
@dinierto said in Better way to change hot key bindings for multiple systems?:
Hmm that's good to know. Sounds like that could be exactly what I need. So what would be a way to return all my individual system retroarch.cfg files to their default and have the 'All' config take over?
I wouldn't even use the All config to bind hotkeys... in fact, other than adjusting some global settings like custom folder locations or video settings, i wouldnt touch retroarch.cfg at all.
I strongly recommend adjusting these setting on a controller by controller basis in this folder:
opt/retropie/configs/all/retroarch-joypads
The button layouts of controllers (for action buttons zero thru 10) can vary heavily by controller brand, if you adjust these by controller in the folder above, then you're not locking your configs to one layout. If you do this in the ALL config, you're basically stuck using one controller and any change will break your previous setting.
-
every time you reinstall a system a default retroarch.cfg-rp-dist file is created in its /opt/retropie/configs/SYSTEM/ folder. delete the retroarch.cfg there and use that instead. you'll have to repeat that for every system you've got issues with.
-
@dankcushions thank you! If I switch back to that .cfg will the 'all' resume precedence? Even if I don't use it for mapping it would be nice to change options globally
-
@dankcushions said in Better way to change hot key bindings for multiple systems?:
every time you reinstall a system a default retroarch.cfg-rp-dist file is created in its /opt/retropie/configs/SYSTEM/ folder. delete the retroarch.cfg there and use that instead. you'll have to repeat that for every system you've got issues with.
Okay I tried this but there were only three systems that had that file. The Arcade system, FBA, and PSX. I tried copying one of those over a retroarch.cfg from NES, but it didn't change anything. I've edited the retropad controller file in opt/retropie/configs/all/retroarch-joypads but that doesn't seem to have any effect either. Editing the retroarch.cfg in the ALL folder doesn't seem to be of much use since you can only put in one set of buttons. This is very frustrating and I'm sorry if I sound like an idiot. Could I get some assistance please?
-
@dinierto you have to reinstall each system before the file will appear.
honestly if you’re having all these problems and have changed many files, it might be easier to just start again from scratch rather than unpick the mess.
-
@dankcushions said in Better way to change hot key bindings for multiple systems?:
@dinierto you have to reinstall each system before the file will appear.
honestly if you’re having all these problems and have changed many files, it might be easier to just start again from scratch rather than unpick the mess.
I've put way too much work into my current setup so I'd rather not do that. I haven't even changed anything other than the files I've been told to in this post
-
@dinierto i've given you instructions on how to revert all retroarch.cfg files. once we're back to that state we can diagnose.
i don't really understand your initial issue. why do you want to change the hotkey buttons? can you give an example of what you'd want to change on your two controllers? i don't think adjusting retroarch.cfgs should be the approach.
-
@dankcushions said in Better way to change hot key bindings for multiple systems?:
@dinierto i've given you instructions on how to revert all retroarch.cfg files. once we're back to that state we can diagnose.
i don't really understand your initial issue. why do you want to change the hotkey buttons? can you give an example of what you'd want to change on your two controllers? i don't think adjusting retroarch.cfgs should be the approach.
It's not my solution, that's what I was told to do in this forum.
I have 2 different controllers. Because hotkeys are set to actual buttons, and not retropad buttons, if I switch controllers the hotkeys don't work right. For example, if save state is set to button 10, button 10 is different between two different controllers. I've edited the autoconfigs but it didn't help.
-
@dinierto said in Better way to change hot key bindings for multiple systems?:
@dankcushions said in Better way to change hot key bindings for multiple systems?:
@dinierto i've given you instructions on how to revert all retroarch.cfg files. once we're back to that state we can diagnose.
i don't really understand your initial issue. why do you want to change the hotkey buttons? can you give an example of what you'd want to change on your two controllers? i don't think adjusting retroarch.cfgs should be the approach.
It's not my solution, that's what I was told to do in this forum.
I have 2 different controllers. Because hotkeys are set to actual buttons, and not retropad buttons, if I switch controllers the hotkeys don't work right. For example, if save state is set to button 10, button 10 is different between two different controllers. I've edited the autoconfigs but it didn't help.
you should have two separate autoconfig files if it's two separate controllers, right?
-
@dankcushions said in Better way to change hot key bindings for multiple systems?:
@dinierto said in Better way to change hot key bindings for multiple systems?:
@dankcushions said in Better way to change hot key bindings for multiple systems?:
@dinierto i've given you instructions on how to revert all retroarch.cfg files. once we're back to that state we can diagnose.
i don't really understand your initial issue. why do you want to change the hotkey buttons? can you give an example of what you'd want to change on your two controllers? i don't think adjusting retroarch.cfgs should be the approach.
It's not my solution, that's what I was told to do in this forum.
I have 2 different controllers. Because hotkeys are set to actual buttons, and not retropad buttons, if I switch controllers the hotkeys don't work right. For example, if save state is set to button 10, button 10 is different between two different controllers. I've edited the autoconfigs but it didn't help.
you should have two separate autoconfig files if it's two separate controllers, right?
Correct, and I've changed them so that the appropriate buttons correspond to the appropriate hot key in each
-
@dinierto that's the correct solution, so i can only guess that there's something in a retroarch.cfg somewhere that's conflicting.
-
@dankcushions said in Better way to change hot key bindings for multiple systems?:
@dinierto that's the correct solution, so i can only guess that there's something in a retroarch.cfg somewhere that's conflicting.
That's my only guess too but I don't know enough about that specific issue
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.