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

    Joystick P1 and P2 Discrepancy despite identical setup

    Scheduled Pinned Locked Moved Help and Support
    joystickmappingmamep1 p2
    19 Posts 6 Posters 4.5k 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.
    • C
      crumbs
      last edited by crumbs

      Ok, thanks for your help, I've done a whole heap more testing and documenting and I discovered the problem seems to be limited to Mame2003

      The joysticks say Dragonrise USB when the games load, if that helps.

      I'm running the default emulators that come with Retropie 4.3:

      The following cores work and there are no problems with discrepancies between joystick button mappings - both work identically:

      • Neo Geo - lr-FBAlpha and lr

      • list itemAtari - lr-stella

      • list itemSnes - lr-snes9x210

      • list itemNES - lr-fceum

      • list itemMegadrive - picodrive

      • list itemPlaystation - lr-pcsx-rearmed

      • list itemFBA - lr-fba

      • list itemArcade - Mame2000

      However, when Mame2003 loads the button mapping for each Joystick is different - this is the frustrating problem

      Thanks again

      1 Reply Last reply Reply Quote 0
      • C
        crumbs
        last edited by

        Hello All,
        This is still unsolved, but there is another clue that it is not a hardware problem:

        When the USB plugs for Player 1 joystick and Player 2 joystick are reversed, Player 2 joystick takes on the Role of Player 1 and behaves as it should and Player 1 takes on the Role of Player 2 and its buttons are all messed up. Therefore, this is not a hardware problem, but rather a config problem.

        I am lost with all the configurations in RetroPie. If someone knows the likely location of the config file I need to edit, it would be great if they could pass on this information.
        Thank you

        Shay90S 1 Reply Last reply Reply Quote 0
        • Shay90S
          Shay90 @crumbs
          last edited by Shay90

          @crumbs Hi Crumbs. I recently had a similar issue. Deleting the retroarch.cfg for that emulator should fix it! Reboot Your Pi and it will be re-created. I did this and it fixed my P1 / P2 getting mixed up like your situation! And I also had the issue only with MAME! You may need to re-map the two players after the reboot in Retropie. If at first its not fixed without re-mapping, delete the file again, reboot, re-map in RetroPie and test out 2 player games.

          p.s. Update retropie-setup and all packages! With this you will get a much nicer and cleaner looking RGUI!

          C dankcushionsD 3 Replies Last reply Reply Quote 0
          • C
            crumbs @Shay90
            last edited by

            @shay90 Thank you so much that's a real help. I'm actually rebuilding everything right now on a new SD card. But there's so many little things to do that I forgot I had done, it's going to take a really long time, so if I can fix it with your recommendation I will be really pleased.
            Thanks for your reply.

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

              @shay90 said in Joystick P1 and P2 Discrepancy despite identical setup:

              @crumbs Hi Crumbs. I recently had a similar issue. Deleting the retroarch.cfg for that emulator should fix it! Reboot Your Pi and it will be re-created.

              close, but no.

              1. delete the retroarch.cfg file for the emulator (ie /opt/retropie/configs/SYSTEM/retroarch.cfg where SYSTEM is the folder name you launch mame2003 games from)
              2. IMMEDIATELY update lr-mame2003 via https://retropie.org.uk/docs/Updating-RetroPie/#updatinginstalling-individual-packages

              step 2) is important because it recreates retropie's default retroarch.cfg for the system. this will ensure all the default bindings are linked up correctly, and a bunch of other stuff. without that you'll end up with a retroarch default, which is not what you want.

              1 Reply Last reply Reply Quote 0
              • Shay90S
                Shay90 @crumbs
                last edited by Shay90

                @crumbs It can be quiet tedious work alright, especially when its your first time (Its mine!). I have to go and test out all games, configure correct mappings for each to my arcade cab controls. Every system, rom and control layout is different, there is no easy way of configuring it all :D But hey, mistakes are a good thing!

                Yes my fix should do it! I would be surprised if it doesn't.

                @dankcushions Thanks for that, I think I did that but can't remember because it was a stressful time :P.

                1 Reply Last reply Reply Quote 0
                • C
                  crumbs @Shay90
                  last edited by

                  @shay90 with the rebuild I re-imaged with 4.3 and went through the Configure Input in Emulation Station. I noticed something seemingly new in 4.3. It only asked me to configure one Joystick and as I recall it used to ask me to configure both. In any case, now what @edmaul69 was saying makes more sense to me. Immediately after configuring the 1st Joystick, the 2nd one was not functioning, but after rebooting it was and problem was solved. Well it is solved for Captain America anyway!

                  @dankcushions Thank you for the correction. I will now try renaming that file on my old build and see if it generates a new config and fixes the problem.
                  Done.
                  Well no. It definitely rebuilt the config in mame-libretro (the folder I use for MAME ROMs), but the problem persists, even after restarting the system. It must be due to another config in another location somewhere.

                  At any rate, I guess I will just continue with the rebuild as this solves the problem.
                  Thanks very much for your help everyone. Very pleased.

                  Shay90S dankcushionsD 2 Replies Last reply Reply Quote 0
                  • Shay90S
                    Shay90 @crumbs
                    last edited by

                    @crumbs Great! Glad it works now! :D Good look with the rest of your build! Perhaps you can share it in the Projects and Themes section for us to see :)

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

                      @crumbs said in Joystick P1 and P2 Discrepancy despite identical setup:

                      Well no. It definitely rebuilt the config in mame-libretro (the folder I use for MAME ROMs), but the problem persists, even after restarting the system. It must be due to another config in another location somewhere.

                      there are a couple of places you can check

                      /opt/retrepie/configs/all/retroarch/config/ (look for mame 2003 files or folders - delete them)
                      /opt/retrepie/configs/all/retroarch/config/remap (look for mame 2003 or mame game files or folders - delete them)

                      1 Reply Last reply Reply Quote 0
                      • D
                        dariocdj
                        last edited by

                        Similar problems. Two identical DragonRise USB Joystick, with same identical connection to usb encoder. In EmulationStation Player2 buttons respond correctly, also if just one config is written (identical joystick). When i start lr-mame2010 with - for example - street fighter i see that player1 controls are OK, player2 controls are ok BUT only 4 buttons of 8 is working. Tryig to make /boot/cmdline.txt mods. Trying also to reconfigure manually in retroarch. What can be? becoming crazy from a week !!! Thanks

                        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.