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 5.6k 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.
    • ddoherty958D
      ddoherty958
      last edited by

      I am making a 2 player arcade machine and I have configured both players controls, but player 2’s left controls player 1 as well, and you can see how this would be bad in a game like mario bros. Raspberry pi B+, official power supply.

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

      dankcushionsD 1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @ddoherty958
        last edited by

        @ddoherty958 please fill out all of https://retropie.org.uk/forum/topic/3/read-this-first

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

          @dankcushions

          I tried using the method in the docs, altering the cmd.txt file but it’s still the same!

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

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

            @ddoherty958 Unless you fill out the form in full to inform helpers what your actual setup is, replies are futile and pointless since people will be asking you for the information requested on that form.

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

              @rbaker

              I’m using xinmotek xinmotek dual controller on a raspberry pi b+. When I play a 2 player game like mario bros if one person goes left mario AND Luigi both go left. Right is ok and for some reason player 1’s up makes player 2 go right. What is going wrong?

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

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

                @ddoherty958 please fill out all of https://retropie.org.uk/forum/topic/3/read-this-first to enable meaningful advice and diagnosis as asked for above.

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

                  @rbaker

                  Raspberry pi B+
                  Official power supply
                  Version 4.4

                  Issue with 2 player joysticks as mentioned above

                  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

                    Emulator: (Name of emulator - if applicable)
                    Attachment of config files: (PLEASE USE PASTEBIN.COM FOR LARGE LOGS)

                    ???????????????????????????????????????????????????????????????????????

                    What have you tried already? What have you typed? Where have you typed it? Do you have keyboard configured? Whats guides have you followed already?

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

                      @ddoherty958 You could at least specify the model/make of the controller you're using. You're giving almost no information about your system and configuration for use to try and find the problem.

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

                        @mitu

                        Sorry. I am using an xinmotek dual controller sourced on arcade world uk. I have tried changing the cmd.txt file as specified in retropie docs. The controller is an arcade joystick and 4 buttons.

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

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

                          @rbaker

                          The mario bros is run in quickNES

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

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

                            The thing I have already tried is:https://retropie.org.uk/docs/Xin-Mo-Controller/

                            The dual arcade one

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

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