The meleu/RetroPie-joystick-selection Script using controllers with the same name...
jthomas5150 last edited by jthomas5150
I have a question. I am using Retroarch 1.7.3. and joystick selection script works great using different named controllers.
However, when i am using my two 8BitDo SN30 controllers, they are listed with the same name (e.g. "8BitDo SNES30 Gamepad #1" and "8BitDo SNES30 Gamepad #2"). So they don't connect in order specified sometimes. Is there any work around via the script?
If not, does anyone know if I can use my hex editor and edit the controller's firmware to implement a name change that way? That method would assure that my controllers have different names. :)
I simply like one controller better and want it to always be Player 1.
Maybe modifying the script so that ordering is also based the bluetooth MAC/serial of the controller, not only the name or input number.
@mitu Yes I thought about that as well, but I don't know enough about coding to do that. :(
@jthomas5150 In this case, I'd recommend to disable the RA patch - added for compatibility with older version - for 1.7.3 and rely on the connection order. 1st gamepad connected is player 1, 2nd is player 2, etc. Then connect/power up the controller in the order you want them to use the player slots.
@mitu Exactly! The order in which I turn on the controllers doesn't seem to matter for player order. How do I disable the patch?
You can edit the
retroarch.shmodule script from
/home/pi/RetroPie-Setup/scriptmodules/emulatorsand comment the 43 line with
then re-install from source the RetroArch package.
@mitu Great thanks so much I will try this. I assume I will no longer need the joystick script?
@jthomas5150 Just test this first and if it works, then you won't be needing the selection tool.
@mitu OMG it worked! Thanks you so much! This little problem has been bugging me for two weeks now! I am so grateful for you taking the time to help me. Hopefully this will help some people in the future.
meleu last edited by
I'm a bit away from the RetroPie scene...
can you confirm if my script is not needed anymore?
if yes I would like to make it clear on my repo's README and then "archive" it.
@meleu No, I think it's still needed :). In this case, the modification in RetroArch (gamepad order is the same as connection order) helps, but it's not helping people with gamepads that are always connected or the ones that have cabinets and wish to plug in a controller and have it as P1.