Homepage Forums RetroPie Project Controller Configuration in RetroPie arcade controller setup issue Reply To: arcade controller setup issue

#113615
deadward
Participant

Yes, I watched that video a few days ago. Which is why I knew about the indexes to start with.

I am just asking if you think it is plausible to add a script that runs when a game is selected that will change the index of player 1 controller to the one used to select the game.


EDIT: (FIXED!)

I ended up fixing the issue by just changing how I had my controllers configured in the box. Since retropie seems to bypass ports that don’t have a controller plugged in, I simply put my external ports which are actually hooked to a usb hub, to index 0. So if I don’t have any controllers plugged into the external ports. It just skips them and my two joystick/button set ups are in index 1 and 2. So when nothing is plugged in externally. They are player 1 and 2. If I want to play with two ps3 controllers, I just plug two into the my external ports and that makes them index 0 and 1 since they are part of a hub, essentially now making my raspberry pi usb ports shift their indexes accordingly. Maybe no one cares…

But this could be a handy solution to anyone doing something similar to mine. If you want to be able to dynamically change which controllers are 1 and 2 without changing the config file or unplugging stuff from the raspberry pi, use a hub in index 0.