Homepage Forums RetroPie Project Controller Configuration in RetroPie Using Playstation 1/2 Controllers on RetroPie, CONFIGS INCLUDED. Reply To: Using Playstation 1/2 Controllers on RetroPie, CONFIGS INCLUDED.

#89978
trumad
Participant

Here’s what I ended up doing:

Plug a PS1 controller into the Player 1 slot of the adaptor (that’s on the right hand side as you look at the circle with the cable coming out the top) and run this on the pi:

cd opt/retropie/emulators/retroarch
sudo ./retroarch-joyconfig >> /opt/retropie/configs/all/PS1.cfg

I found that it wouldn’t recognise R3 button presses, and I opted not to use any of the analogue stick movements, so I left the analogue light off and just pressed x a bunch of times at the end.

Then, I took the output from PS1.cfg and copied it to:

opt/retropie/configs/all/retroarch.cfg

and it kinda looks like this:

input_player1_joypad_index = "0"
input_player1_b_btn = "2"
input_player1_y_btn = "3"
input_player1_select_btn = "8"
input_player1_start_btn = "9"
input_player1_up_axis = "-1"
input_player1_down_axis = "+1"
input_player1_left_axis = "-0"
input_player1_right_axis = "+0"
input_player1_a_btn = "1"
input_player1_x_btn = "0"
input_player1_l_btn = "6"
input_player1_r_btn = "7"
input_player1_l2_btn = "4"
input_player1_r2_btn = "5"
input_player2_joypad_index = "1"
input_player2_b_btn = "2"
input_player2_y_btn = "3"
input_player2_select_btn = "8"
input_player2_start_btn = "9"
input_player2_up_axis = "-1"
input_player2_down_axis = "+1"
input_player2_left_axis = "-0"
input_player2_right_axis = "+0"
input_player2_a_btn = "1"
input_player2_x_btn = "0"
input_player2_l_btn = "6"
input_player2_r_btn = "7"
input_player2_l2_btn = "4"
input_menu_toggle_btn = "0"
input_save_state_btn = "6"
input_load_state_btn = "7"
input_exit_emulator_btn = "9" 

the input_blah_blah_btn commands are so you can press select + another button to do funky things.