Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Controller setup per Emulator
- This topic has 4 replies, 3 voices, and was last updated 9 years, 9 months ago by evilllama.
-
AuthorPosts
-
02/13/2015 at 11:49 #87217AnonymousInactive
Hello,
So how do you set your controller for each individual emulator?
I have used the RetroArch Setup to setup my USB snes controller,
I have tried all 3 snes emulators, only Pisnes will work with the setup. All buttons work like they supposed to, Select + Start brings me back to ES
If i use Snes9X and launch a game, most games will then require me to press start, Which i do, but then it exits the emulator.
The 3rd Emulator (just snes in the rom folder), has the correct layout for buttons, I am able to play games, but the Select + Start = Exit does not work.
Thanks in advance,
02/13/2015 at 14:36 #87239RooParticipant02/13/2015 at 16:52 #87276AnonymousInactiveI have used that Youtube video initially to setup my controller, but it doesnt seem to set the controls for the other emulators.
02/13/2015 at 16:54 #87277RooParticipantIt’s a playlist of videos. I’m pretty sure Floob covers configuring controllers for all the different emulators in those videos.
02/13/2015 at 19:39 #87330evilllamaParticipantThis is taken from my own PERSONAL installation guide that i have been creating as I build my retro station. Please excuse any spelling mistakes and such, I spun this off while working on the pi, but the steps are exactly the process I used while doing individual emulator mapping.
ALTERING EMULATOR SPECIFIC CONTROLS
Assuming you have 4 controllers that are the same… (if not scroll down)
From terminal, type”
cd /opt/retropie/emulators/retroarch/configs
dir (or ls -1)
Now select a controller to look at for reference for button mapping
sudo nano “controller cfg file to reference/alter”
find specific buttons to change and write down the current configuration. For example, I want to change the NES a and b button mapping by swapping the function of each. MadCatzXbox360Controller.cfg states:
input_a_btn = “0”
input_b_btn = “1”So now I exit without changing anything (ctrl X, n, enter)
Now type:
cd /opt/retropie/configs/nes
sudo nano retroarch.cfgNow in nano, scroll to the bottom and type:
input_player1_a_btn = “1”
input_player2_a_btn = “1”
input_player3_a_btn = “1”
input_player4_a_btn = “1”
input_player1_b_btn = “0”
input_player2_b_btn = “0”
input_player3_b_btn = “0”
input_player4_b_btn = “0”Now press ctrl x to exit, y to save, and enter.
IF YOU HAVE DIFFERENT CONTROLLERS (not all the same type)
Enter the emulator you want to alter mapping for. Find the USB that controls the 1st, 2nd, 3rd, and 4th player controllers. Write down the type of controller is for each # player. Exit emulation and emulationstation.
Now in terminal follow the above instructions but repeat the first part for finding how the controller is configured (cd /opt/retropie/emulators/retroarch/configs and sudo nano config file for the controllers that need to be changed) for the controller type for each player. Write down the controls that you want to change under each controller type/player.
Continue to the emulator retroach.cfg file (IE: cd /opt/retropie/configs/nes then
sudo nano retroarch.cfg) and alter the buttons by player# and controller type for remapping (using the configurations from the controller config files). for example, if player 1 is an xbox controller, player one should be reconfigured using mapping for xbox controllers, playstation player # to playstation mapping, etc..NOTE: You may want to mark what ports they are plugged into by painting a number on the port and the controller. As long as the controllers are in the SAME ports when you load the pi, they should be correctly mapped each time you start emulation.
-
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.