I know it’s possible to override the button mapping using the individual emulators’ config files, but is it possible to use a different controller entirely?
So far, it seems like running retroarch-joyconfig binds the system to a specific controller. Is it possible to set it up so, for example, I could use a playstation controller with PSX and an SNES controller with everything else?
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:
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]
The power rating could be an issue. I’ve also recently found out that with the hub plugged in, I can’t hot swap controllers. Oddly enough, the joypad index seems to be arbitrarily linked to specific ports on my hub. I did finally get everything to work, but all four controllers must be plugged in when booting, and I ran joyconfig for indexes 0 – 4, but the first time it would only register three of my controllers. I had to reboot with the fourth controller in a different port, then it worked fine.