Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › How to configure USB snes controller
- This topic has 8 replies, 4 voices, and was last updated 10 years, 5 months ago by smatticus.
-
AuthorPosts
-
01/15/2014 at 05:34 #4153kamikazeratParticipant
Hi,
Ive got retropie up and running but am having difficulty configuring my controller… From what I’ve read it should navigate to cd RetroPie/emulators/RetroArch/tools and run retroarch-joyconfig. But it doesn’t exist there, after rummaging around through the files I found it by going to cd /RetroPie/emulators/RetroArch/installdir/bin but when I run the joyconfig it only registers my keyboard I have plugged in, then it asks me to input “B button (down)” no matter what button I press on the controller, or the keyboard it doesn’t advance to the next command… I end up having to restart my pi… Any help please01/15/2014 at 06:36 #4157RetroMarineParticipantJust open:
/home/pi/RetroPie/configs/all
and edit retroarch.cfg to this code:
input_player1_joypad_index = 0
input_player1_b_btn = 2
input_player1_a_btn = 1
input_player1_y_btn = 3
input_player1_x_btn = 0
input_player1_l_btn = 4
input_player1_r_btn = 5
input_player1_start_btn = 9
input_player1_select_btn = 8
input_player1_l_y_plus = -1
input_player1_up_axis = -1
input_player1_l_y_minus = +1
input_player1_down_axis = +1
input_player1_l_x_minus = -0
input_player1_left_axis = -0
input_player1_l_x_plus = +0
input_player1_right_axis = +0input_enable_hotkey_btn = 8
input_exit_emulator_btn = 9input_enable_hotkey_btn = 8
input_save_state_btn = 4input_enable_hotkey_btn = 8
input_load_state_btn = 5input_player2_joypad_index = 1
input_player2_b_btn = 2
input_player2_a_btn = 1
input_player2_y_btn = 3
input_player2_x_btn = 0
input_player2_l_btn = 4
input_player2_r_btn = 5
input_player2_start_btn = 9
input_player2_select_btn = 8
input_player2_l_y_plus = -1
input_player2_up_axis = -1
input_player2_l_y_minus = +1
input_player2_down_axis = +1
input_player2_l_x_minus = -0
input_player2_left_axis = -0
input_player2_l_x_plus = +0
input_player2_right_axis = +0input_enable_hotkey_btn = 8
input_exit_emulator_btn = 9input_enable_hotkey_btn = 8
input_save_state_btn = 4input_enable_hotkey_btn = 8
input_load_state_btn = 5(This will work on most the emulators, and I also added exit emulator by pressing select + start, as well as save state= select + L and load state= select + R)
01/15/2014 at 06:55 #4159kamikazeratParticipantThanks! That worked great for me! But now I’ve loaded up some snes roms into it but I can’t seem to find the snes emulator to play them. I loaded them into the snes folder under roms, shouldn’t it just pop up when I start up the pi?
01/15/2014 at 07:38 #4161RetroMarineParticipantYes it should…are you using the right file type? (.smc)? If your games are still zipped they won’t be recognized.
01/15/2014 at 21:58 #4178RetroMarineParticipantJust open:
/home/pi/RetroPie/configs/all
and edit retroarch.cfg to this code:
input_player1_joypad_index = 0
input_player1_b_btn = 2
input_player1_a_btn = 1
input_player1_y_btn = 3
input_player1_x_btn = 0
input_player1_l_btn = 4
input_player1_r_btn = 5
input_player1_start_btn = 9
input_player1_select_btn = 8
input_player1_l_y_plus = -1
input_player1_up_axis = -1
input_player1_l_y_minus = +1
input_player1_down_axis = +1
input_player1_l_x_minus = -0
input_player1_left_axis = -0
input_player1_l_x_plus = +0
input_player1_right_axis = +0input_enable_hotkey_btn = 8
input_exit_emulator_btn = 9input_enable_hotkey_btn = 8
input_save_state_btn = 4input_enable_hotkey_btn = 8
input_load_state_btn = 5input_player2_joypad_index = 1
input_player2_b_btn = 2
input_player2_a_btn = 1
input_player2_y_btn = 3
input_player2_x_btn = 0
input_player2_l_btn = 4
input_player2_r_btn = 5
input_player2_start_btn = 9
input_player2_select_btn = 8
input_player2_l_y_plus = -1
input_player2_up_axis = -1
input_player2_l_y_minus = +1
input_player2_down_axis = +1
input_player2_l_x_minus = -0
input_player2_left_axis = -0
input_player2_l_x_plus = +0
input_player2_right_axis = +0input_enable_hotkey_btn = 8
input_exit_emulator_btn = 9input_enable_hotkey_btn = 8
input_save_state_btn = 4input_enable_hotkey_btn = 8
input_load_state_btn = 5(This will work on most the emulators, and I also added exit emulator by pressing select + start, as well as save state= select + L and load state= select + R)
Just open:
/home/pi/RetroPie/configs/all
and edit retroarch.cfg to this code:
input_player1_joypad_index = 0
input_player1_b_btn = 2
input_player1_a_btn = 1
input_player1_y_btn = 3
input_player1_x_btn = 0
input_player1_l_btn = 4
input_player1_r_btn = 5
input_player1_start_btn = 9
input_player1_select_btn = 8
input_player1_l_y_plus = -1
input_player1_up_axis = -1
input_player1_l_y_minus = +1
input_player1_down_axis = +1
input_player1_l_x_minus = -0
input_player1_left_axis = -0
input_player1_l_x_plus = +0
input_player1_right_axis = +0input_enable_hotkey_btn = 8
input_exit_emulator_btn = 9input_enable_hotkey_btn = 8
input_save_state_btn = 4input_enable_hotkey_btn = 8
input_load_state_btn = 5input_player2_joypad_index = 1
input_player2_b_btn = 2
input_player2_a_btn = 1
input_player2_y_btn = 3
input_player2_x_btn = 0
input_player2_l_btn = 4
input_player2_r_btn = 5
input_player2_start_btn = 9
input_player2_select_btn = 8
input_player2_l_y_plus = -1
input_player2_up_axis = -1
input_player2_l_y_minus = +1
input_player2_down_axis = +1
input_player2_l_x_minus = -0
input_player2_left_axis = -0
input_player2_l_x_plus = +0
input_player2_right_axis = +0input_enable_hotkey_btn = 8
input_exit_emulator_btn = 9input_enable_hotkey_btn = 8
input_save_state_btn = 4input_enable_hotkey_btn = 8
input_load_state_btn = 5(This will work on most the emulators, and I also added exit emulator by pressing select + start, as well as save state= select + L and load state= select + R)
Sent from my C5155 using Tapatalk
07/09/2014 at 02:47 #13332Brandon JonesGuestHey it seems there has been an update to the projects file structure. I cannot locate /home/pi/RetroPie/configs/all through the SFTP set up.
07/09/2014 at 03:01 #13333zsprawlParticipantEverything was moved to /opt/retropie
07/09/2014 at 07:12 #13426Brandon JonesGuestThank you for the update on the location. But my permissions don’t seem to extend passed the Root folder of /home/pi/ so I can’t seem to set my permissions properly to upload my controller update.
Is there a way to set my permissions for the retroarch.cfg to be overwritten?
07/11/2014 at 06:28 #14175smatticusParticipantJust go to zsprawls 2.2 setup guide. Everything you need for controller setup/permissions is in there.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.