RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    The meleu/RetroPie-joystick-selection Script using controllers with the same name...

    Scheduled Pinned Locked Moved Help and Support
    meleujoystick-selectjoystickcontroller
    11 Posts 3 Posters 1.8k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator
      last edited by

      Maybe modifying the script so that ordering is also based the bluetooth MAC/serial of the controller, not only the name or input number.

      J 1 Reply Last reply Reply Quote 0
      • J
        jthomas5150 @mitu
        last edited by

        @mitu Yes I thought about that as well, but I don't know enough about coding to do that. :(

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @jthomas5150
          last edited by mitu

          @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.

          J 1 Reply Last reply Reply Quote 1
          • J
            jthomas5150 @mitu
            last edited by

            @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?

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator
              last edited by

              You can edit the retroarch.sh module script from /home/pi/RetroPie-Setup/scriptmodules/emulators and comment the 43 line with

              appltPatch "$md_data/03_disable_udev_sort.diff
              

              then re-install from source the RetroArch package.

              J 1 Reply Last reply Reply Quote 1
              • J
                jthomas5150 @mitu
                last edited by

                @mitu Great thanks so much I will try this. I assume I will no longer need the joystick script?

                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @jthomas5150
                  last edited by

                  @jthomas5150 Just test this first and if it works, then you won't be needing the selection tool.

                  J meleuM 2 Replies Last reply Reply Quote 1
                  • J
                    jthomas5150 @mitu
                    last edited by

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • meleuM
                      meleu @mitu
                      last edited by

                      hey @mitu
                      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.

                      thanks! ;)

                      • Useful topics
                      • joystick-selection tool
                      • rpie-art tool
                      • achievements I made
                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @meleu
                        last edited by

                        @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.

                        1 Reply Last reply Reply Quote 2
                        • First post
                          Last post

                        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.