Controller Ports Automatically Changing...
-
Pi- 4
RP - 4.6 beta image for Pi4 installed from RP site
USB Accessories- 2x arcade controllers (ports 2 & 3), 2x panel-mount USB extenders (ports 0 & 1) with PS4 controllers usually plugged inI have my RP build set up with Arcade games to default to Port2=P1, Port3=P2, Port0=P3, and Port1=P4. For all the console emulators, I have Port0=P1, Port1=P2, Port2=P3, and Port3=P4.
Everything works great until I need to do some keyboard work when setting up new systems/ROMs and unplug the PS4 controller from Port1 to put in the wireless dongle for my keyboard. In that case, in Arcade, Port3 becomes P1, and Port0 becomes P2.
That makes sense to me, since it’s now only seeing three gamepads, but it’s counterintuitive, being that I manually defined the USB ports in the retroarch.cfg for the emulators. It’s certainly not a project-breaker, since I am able to switch controllers when doing set-up work, and everything reverts back to normal when I unplug the keyboard dongle and plug the controller back in.
I’m just wondering if there’s a more stable way for me to have defined which USB ports are which Player for individual emulators than the way I’ve done it. I’m kind of enjoying the process of setting up my own build, and if there’s a better/cleaner way of configuring it my way, I’d prefer to do it that way.
-
When re-arranging the controller order, you don't actually re-arrange the USB ports, you're just re-positioning the controllers from their default index - assigned by the operating system. RetroArch's has confusingly named this as 'Ports', but they don't relate to the actual USB port where the controller is connected.
By the looks of if, you might want to re-arrange the controller by their name, instead of the something that's tied to the OS detection. Take a look at @meleu's joystick selection tool, it's a bit more flexible in this regard and it might work better for your setup - https://github.com/meleu/RetroPie-joystick-selection. -
@mitu
Thank you. I kept a browser window open for that and will give it a try.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.