I have a Logitech F310 that works well across the board, and the configuration specified in /opt/retropie/emulators/retroarch/configs is successfully read and followed by RetroArch. Since the F310s buttons are positioned like Xbox 360 buttons, I’ve bound them as such (A is my bottom button, B is my right side button, etc.).
On the PSX, though, I’d much rather bind the controls differently, such that circle (which is natively seen as A) is on the right, triangle is on top, etc. My understanding is that by placing lines like
in the system-specific retroarch.cfg at /opt/retropie/configs/psx/retroarch.cfg, I could overwrite my global controls. However retroarch appears not to read this, as no controls change. I tried placing these lines on top of and under the #include line, and neither worked. I also tried rebinding my controller in the in-game menu, and they worked at that point but as soon as I exited the game, no longer existed. Also, doing this rebinding did not write any files to the /opt/retropie/configs/psx/ directory (I think it’s supposed to).
Is this the right place to be putting these lines? Anyone else having trouble with this?
PS: I will note that I initially had trouble binding my controller through retropie-config and had to write a file manually, but don’t know if that’s related.
Thank you so much! That was the problem. For those who may have the issue in the future, I was using the variable names from a per-controller config (the one called LogitechGamepadF310.cfg). If you want to override these in retroarch.cfg for a system (or globally) you need to use the values that flipbug showed.
Mapping for the F310 is a little different than the F710, so I ended up with: