Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Updated for 2.2: Step-by-Step Guide › Reply To: Updated for 2.2: Step-by-Step Guide
I’m getting confused on the the proper way to configure controllers. Are we still supposed to use the joyconfig pipe to configure our controllers? I don’t know because but I stumbled across a configuration option somewhere that I can’t even remember… it had me enter the buttons, and would actually allow you to time out for L2, L3, etc. if you were using an SNES controller. This configuration option was the one that would create the files like /opt/retropie/emulators/RetroArch/configs/2Axes11KeysGamepad.cfg
It didn’t add anything into the /opt/retropie/configs/all/retroarch.cfg, though, but doing that for an SNES USB controller and a PS3 BT controller worked. So the only stuff in the retroarch.cfg is the initial keyboard inputs set up in emulationstation, and the exit and save/load state hotkeys I added here.
So I’m unsure as to what the correct way to configure the controllers in 2.2 is… using the joyconfig pipe, or the other way that created those autoconfig files. I can’t even remember what tool I used… it may have been registering the controller in retropie_setup.sh that launched it. I can’t remember as I was just spending a lot of time that day trying to get the controllers to work.
So I needed to swap them so player 2 was player 1 and vice versa. Adding this to retroarch.cfg fixed that:
input_player1_joypad_index = "1"
input_player2_joypad_index = "0"
I don’t know if that is the way swapping controller numbers is supposed to be done.
I’m also trying to add a hotkey for hold to speed and menu toggle, so I added these
input_enable_hotkey_btn = "8"
input_exit_emulator_btn = "9"
input_save_state_btn = "4"
input_load_state_btn = "5"
input_hold_fastforward = "3"
input_menu_toggle = "0"
at the end of retroarch.cfg. The exit, save, and load ones worked, but the fast forward and menustoggle did not.
Also, since I have 2 different controllers, I started to think that these hotkeys might conflict, since button 8 on the SNES pad is Select, and 8 on the PS3 controller is L2. Sorry for the wordy post, but with all the recent updates to 2.2, I picked the worst time to try and figure all this out. :) A lot of old methods has become misinformation and not a lot of the new updates have been covered.