Wanted to provide an example of a controller override. In my case I am using a Logitech 310. For Nintendo NES and Gameboy systems the buttons are mapped horizontally by default, I wanted to put them vertically. I think people with XBox 360 and PS3 controllers have the same issue.
I have 3 extra folders and files.
Each cfg files has the same contents:
input_player1_b_btn = "2" input_player1_y_btn = "3" input_player1_a_btn = "0" input_player1_x_btn = "1" input_player2_b_btn = "2" input_player2_y_btn = "3" input_player2_a_btn = "0" input_player2_x_btn = "1"
Since I am on Linux, I just have all 3 symlinked to one file. If you have individual files, you can remove the player2 lines from the
I had to do this manually because the RGUI (I am on version 1.4.1) method of bringing up the Retroarch menu (F1) while playing, adjusting the controls and then saving with Save Core Overrides only created empty cfg files. To find out what to put in the cfg files I backed up my original
retroarch.cfg, then changed the controls globally and saved the updated
retroarch.cfg. I then did a
diff retroarch.cfg.orig retroarch.cfg
to find out the exact lines to put in the core cfg files.
Hopefully this helps some people. I kept finding guides that said to put the overrides in a file, but none said what exactly to write.