Smart, dynamic gamepad selection at emulator start
-
Let's say I have a fightstick, an xbox one pad and an oldschool pad connected to the Pi. I need the fightstick for fighters, the xbox pad for games with analog or wheel inputs and the oldschool one for the rest. As it stands, once a controller is designated as the main one it's the only one that Player 1 can use unless one manually changes the order or unplugs the others. Doing it on a game by game basis is tedious to say the least.
Or I'm playing with three newbie friends with four cheapo pads, and they fumble and quit or reset the emulator constantly (Happened way too many times). I need to make sure my pad's player 1 so only I can do that. Every time the pads are different and end up connected in random order on random USB ports.
As all the connected pads can 'drive' emulationstation, is it possible to simply have the one that starts the game and emulator with A be the main, player 1 one without any configuration needed or having to unplug the others?
-
@Amplifuzz Something like https://github.com/meleu/RetroPie-joystick-selection might be helpful, to designate a P1 by gamepad name no matter what other gamepads are plugged in.
-
I have that installed, it works very well for what it is. It's slightly too much setup for scenario #2 ('social raspberry' thing where everyone brings their own pad). Say I want to skip some rounds without passing my pad to someone else, I'd have to reconfigure it and back when I resume. Also a mess if there are two or more pads with the same ID, etc.
More importantly, it does nothing to solve scenario #1 (each game for each emulator potentially needing a different controller, and experimenting with different controllers on the same game as well, without having to unplug and replug or constantly go into RGUI).
Designating the pad that starts the game as #1 seems the most elegant solution. Consider it a feature request :)
-
@meleu , what do you think? Would it be possible to add something like that to your script?
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.