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

    Trouble setting 8bitdo to Player 2

    Scheduled Pinned Locked Moved Help and Support
    controllerplayer 2player indexbluetooth8bitdo
    14 Posts 3 Posters 6.4k 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 @GumiChan
      last edited by

      @gumichan The 8bitdo controller does not assign itself the player #, it's the system that does the pairing (the Pi) who's doing that. Look up @meleu's joystick selection script, it allows you to configure the ordering of the gamepads.

      G 2 Replies Last reply Reply Quote 0
      • G
        GumiChan @mitu
        last edited by

        @mitu thanks for the reply! I understand that it's Pi doing that, but what I don't understand is why is it doing it specifically with the 8bitdo? Is it because it's bluetooth?
        Thanks for the suggestion on Meleu's script! I'll give it a shot right now and hopefully this problem will be solved!

        1 Reply Last reply Reply Quote 0
        • G
          GumiChan @mitu
          last edited by GumiChan

          @mitu
          okay... I installed the script, got the script working, configured the controllers.
          I set the 8bitdo to Player 2, and USB controller to Player 1. Works ok so far.
          I disconnect 8bitdo controller, and USB controller stops working.
          I reconnect 8bitdo controller, USB still doesn't work, 8bitdo is now controlling Player 1 and Player 2, with obviously wrong key mapping. I use a keyboard to exit.
          I run the script again, everything gets fixed.

          Sooo.... I have to leave my bluetooth controller on, even if I'm playing a one player game... and if it disconnects, then I'm screwed.

          I looked at the readme file on @meleu's github, and it seems this is a known issue, not specific to 8bitdo, but bluetooth controllers. What can I do from here? :(

          edit: ugh... I read that last thing wrong... I've been at this for 6hrs, I'm tired. :(

          1 Reply Last reply Reply Quote 0
          • G
            GumiChan
            last edited by

            still can't get it to work... my only solution right now is "don't use the 8bitdo forever."

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

              @gumichan You mean 'don't use a wireless controller' ?

              G 1 Reply Last reply Reply Quote 0
              • G
                GumiChan @mitu
                last edited by

                @mitu or that. I don't have any way to test a different wireless controller at the moment. But regardless, the problem is still there. If it's just wireless controllers in general, wouldn't there be more people running into this problem? I couldn't find any posts related to this.

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

                  @gumichan Are you connecting/disconnecting the controllers during gameplay when you do the testing ?

                  G 1 Reply Last reply Reply Quote 0
                  • G
                    GumiChan @mitu
                    last edited by GumiChan

                    @mitu no, never during gameplay, only before launching.

                    8bitdo forces itself into Port 0, while the joystick indexes port 0 as P1 and Port 1 as P2.

                    Changing the indexes so P1 is Port 1 and P2 is Port 0 works until disconnect. Then the USB gets put back into port 0, but the index is still P1 is Port 1 and P2 is Port 0, meaning there's no P1.

                    btw, this is only a problem in Retroarch. ES works perfectly fine no matter how I connect or disconnect the 8bitdo.

                    G 1 Reply Last reply Reply Quote 0
                    • G
                      GumiChan @GumiChan
                      last edited by

                      So I tried Meleu's script again, but this time turning on "By Name".
                      Ports still change, but Meleu's script forcefully assigns the index the way I want it now, so it solves the problem! Just... don't get a controller with the same name, I guess...

                      Again, thanks for suggesting his script!

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

                        @gumichan said in Trouble setting 8bitdo to Player 2:

                        Again, thanks for suggesting his script!

                        I thought you already did that but didn't work. Glad it worked, all credits go to @meleu.

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

                          Woohool!!

                          Cheers guys!

                          • Useful topics
                          • joystick-selection tool
                          • rpie-art tool
                          • achievements I made
                          G 1 Reply Last reply Reply Quote 0
                          • G
                            GumiChan @meleu
                            last edited by

                            @meleu thanks so much for making this script! I would be screwed without it! This should be added to the Retropie main builds! It's so useful!

                            1 Reply Last reply Reply Quote 0
                            • 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.