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

    2 player joysticks

    Scheduled Pinned Locked Moved Help and Support
    2 player config
    33 Posts 6 Posters 6.3k 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.
    • S
      Stonie
      last edited by Stonie

      I use 4 sticks and 8 buttons per stick, on Raspberry Pi 3B, player 1 and 3 are on 1 Xinmotec board and players 2 and 4 are on another. Edited the boot file with the relevant text as specified in the docs and it worked perfectly.

      1 Reply Last reply Reply Quote 0
      • rbakerR
        rbaker @ddoherty958
        last edited by

        @ddoherty958 Unless you start posting configs of what you have typed, its impossible to help you. Had you done this, you would probably be running by now.

        1 Reply Last reply Reply Quote 0
        • rbakerR
          rbaker @ddoherty958
          last edited by

          @ddoherty958 Are you confident that it is even wired correctly and gives out the correct responses?

          ddoherty958D 1 Reply Last reply Reply Quote 0
          • ddoherty958D
            ddoherty958 @rbaker
            last edited by

            @rbaker

            Player 2 works fine controlling the menu.

            I did this:

            Add the following to /boot/cmdline.txt -- just add a space to the end of the existing entry, so it is all on one line):

            If you have a "Juyao Dual Arcade", it is the same device, but the vendor ID is 0314 and the product ID is 0328:

            usbhid.quirks=0x0314:0x0328:0x040

            Raspberry pi B+, official pi power supply, Samsung 64gb SD card, SanDisk 32GB USB drive

            rbakerR mituM 2 Replies Last reply Reply Quote 0
            • rbakerR
              rbaker @ddoherty958
              last edited by

              @ddoherty958 So post the file from your pi so the community can check that you have typed correctly etc.etc. i.e correct vendor and product id etc. etc. How did you edit the file? Did you save on exit? etc..

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

                @ddoherty958 Can you post the output of sudo lsusb (while the controller is plugged in) and the content of the /boot/cmdline.txt ?

                1 Reply Last reply Reply Quote 0
                • ddoherty958D
                  ddoherty958 @rbaker
                  last edited by

                  @rbaker

                  Thgis is the CDM.txt file:

                  dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=14a75fe9-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0 usbhid.quirks=0x0314:0x0328:0x040

                  I can't upload files yet

                  Raspberry pi B+, official pi power supply, Samsung 64gb SD card, SanDisk 32GB USB drive

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

                    @ddoherty958 The name of the file is cmdline.txt, not cmd.txt.

                    ddoherty958D 1 Reply Last reply Reply Quote 0
                    • ddoherty958D
                      ddoherty958 @mitu
                      last edited by

                      @mitu said in 2 player joysticks:

                      @ddoherty958 The name of the file is cmdline.txt, not cmd.txt.

                      sorry. I just typed too fast. It is that one, cmdline

                      Raspberry pi B+, official pi power supply, Samsung 64gb SD card, SanDisk 32GB USB drive

                      1 Reply Last reply Reply Quote 0
                      • ddoherty958D
                        ddoherty958
                        last edited by

                        @mitu

                        after that command it says:
                        0_1535467119270_error.jpg

                        Raspberry pi B+, official pi power supply, Samsung 64gb SD card, SanDisk 32GB USB drive

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

                          @ddoherty958 Unfortunately the image is too small to see anything. Can you upload a better image ?

                          ddoherty958D 1 Reply Last reply Reply Quote 0
                          • ddoherty958D
                            ddoherty958 @mitu
                            last edited by

                            @mitu

                            here:

                            0_1535467603336_error.jpg

                            Raspberry pi B+, official pi power supply, Samsung 64gb SD card, SanDisk 32GB USB drive

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

                              Looks like you have copied the wrong IDs from the docs - your cmdline should look like

                              dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=14a75fe9-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consoleblank=0 plymouth.enable=0 sbhid.quirks=0x16c0:0x05e1:0x040
                              

                              Notice the Vendir and Device ID are different - you copied the ones for the Juyao Dual Arcade, not the Xin Mo that are referenced first.

                              ddoherty958D 1 Reply Last reply Reply Quote 0
                              • ddoherty958D
                                ddoherty958 @mitu
                                last edited by

                                @mitu

                                Thanks! I'll try that and get back to you

                                Raspberry pi B+, official pi power supply, Samsung 64gb SD card, SanDisk 32GB USB drive

                                1 Reply Last reply Reply Quote 0
                                • ddoherty958D
                                  ddoherty958
                                  last edited by

                                  so when it came on the joysticks work but the buttons don't. I cam't configure them again because A doesn't work. The USB keyboard doesn't work either.

                                  Raspberry pi B+, official pi power supply, Samsung 64gb SD card, SanDisk 32GB USB drive

                                  1 Reply Last reply Reply Quote 0
                                  • ddoherty958D
                                    ddoherty958
                                    last edited by

                                    right I removed the extra code and VOILA! Buttons are working again. Weird!

                                    Raspberry pi B+, official pi power supply, Samsung 64gb SD card, SanDisk 32GB USB drive

                                    ddoherty958D 1 Reply Last reply Reply Quote 0
                                    • ddoherty958D
                                      ddoherty958 @ddoherty958
                                      last edited by

                                      However if I add it in again they stop. Annoying!

                                      Raspberry pi B+, official pi power supply, Samsung 64gb SD card, SanDisk 32GB USB drive

                                      1 Reply Last reply Reply Quote 0
                                      • LurkerL
                                        Lurker
                                        last edited by Lurker

                                        Doctor doctor, It hurts when I do this.

                                        Doctor: Well don't do that.

                                        I had something similar happen once. Not saying it will work for you, but in my case I just deleted the controller config files (following one of the documents around here somewhere) and let the system start over asking to configure the controllers as if it was the first time.

                                        A very "did you try turning it off and then on again" solution but it worked for me.

                                        ddoherty958D 2 Replies Last reply Reply Quote 0
                                        • ddoherty958D
                                          ddoherty958 @Lurker
                                          last edited by

                                          @lurker

                                          Thanks, I'll try that too.

                                          Raspberry pi B+, official pi power supply, Samsung 64gb SD card, SanDisk 32GB USB drive

                                          1 Reply Last reply Reply Quote 0
                                          • ddoherty958D
                                            ddoherty958 @Lurker
                                            last edited by

                                            @lurker said in 2 player joysticks:

                                            Doctor doctor, It hurts when I do this.

                                            Doctor: Well don't do that.

                                            I had something similar happen once. Not saying it will work for you, but in my case I just deleted the controller config files (following one of the documents around here somewhere) and let the system start over asking to configure the controllers as if it was the first time.

                                            A very "did you try turning it off and then on again" solution but it worked for me.

                                            How exactly would you do that?

                                            Raspberry pi B+, official pi power supply, Samsung 64gb SD card, SanDisk 32GB USB drive

                                            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.