Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Set up different controllers for different emulators? › Reply To: Set up different controllers for different emulators?
Hi, thanks for the help. I finally got all the equipment I needed to test this. Here’s what happened.
All equipment I’m using has been confirmed to work individually.
One powered hub.
Two retro-link USB SNES controllers (I’ve been using these ones for months)
Two PS2 to USB adapters
Two PS2 Sony-brand controllers.
I ran the es input configuration with all four controllers running through the hub. The two SNES controllers were used for players one and two. The PS2 controllers were for players three and four. I’m assuming that means they’re indext 0, 1, 2, 3 respectively.
Ran joyconfig once with the SNES controller, once with the PS2 controller. Neither one would work through the hub, so they were plugged in directly to the Raspberry Pi when I did that.
I wrote down the outputs, then manually entered them in retroarch.cfg, with the SNES inputs for players one (index 0) and two (index 1) and the PS2 inputs for players three and four (2 and 3).
I altered the retroarch.cfg file in the PSX folder to read:
input_player1_joypad_index = 2
input_player2_joypad_index = 3
input_player3_joypad_index = 0
input_player4_joypad_index = 1
Here are my results:
All four controllers work in emulationstation, whether running through the hub or plugged into the pi directly.
The SNES controllers work in-game, but only if they were plugged directly into the pi when it boots up. Snes controllers have control over PSX games (which would be fine except for R2 and L2 buttons), despite the change in index. (I even tried overriding the ‘input_player1_btn’ lines to match the PS2 controls)
The PS2 controllers don’t work in-game at all.
[Ideally, I’d like to not have to use the hub at all. I’ll never need more than two players, so I’ll either boot up with the PS2 controllers for PSX, or the SNES controllers for everything else. However, I’m not adverse to using the hub if there are no other options]
Thanks for your help, as always.