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

    Help differentiating between two different controllers

    Scheduled Pinned Locked Moved Help and Support
    11 Posts 3 Posters 3.0k 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.
    • RiverstormR
      Riverstorm @ncarrocino
      last edited by

      @ncarrocino said in Help differentiating between two different controllers:

      Both controllers are named USB GAMEPAD and are recognized as the same controller.

      I would guess it's using the same driver for both controllers as they are similar.

      I set up the nes controller at the initial prompt and and then added the snes controller into the config/snes/retroarch settings.

      Instead of copying and pasting the NES controller config for the SNES config you could pull up the Emulationstation menu and go to "Configure Input" and configure the second SNES controller and you should be able to get the buttons the way you prefer.

      N 1 Reply Last reply Reply Quote 0
      • N
        ncarrocino @Riverstorm
        last edited by ncarrocino

        @Riverstorm if I set up the snes for ES then the nes controller won't be able to back out at all as it would have no button set for b. By setting the nes both nes and snes are usable just the snes uses x as the b button.

        I was hoping there was some sort of configuration of the es_input file where b could be set to 0 and 2

        RiverstormR 1 Reply Last reply Reply Quote 0
        • RiverstormR
          Riverstorm @ncarrocino
          last edited by Riverstorm

          @ncarrocino said in Help differentiating between two different controllers:

          I was hoping there was some sort of configuration of the es_input file where b could be set to 0 and 2

          I see what you're saying. Since both controllers are using the same driver there's only one controller entry in es_input.cfg? I'm not sure how you would get around that.

          N 1 Reply Last reply Reply Quote 0
          • N
            ncarrocino @Riverstorm
            last edited by ncarrocino

            @Riverstorm yes exactly. if put them both into the es config and it would use whatever one is above the other. Im also assuming there is no way to change the name device name to something else? i can functionally play both systems fine but after putting all the time into setting it up i would like to have it set right for the menu options as well.

            mediamogulM RiverstormR 2 Replies Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator @ncarrocino
              last edited by mediamogul

              @ncarrocino

              This should help, but I haven't got around to trying it myself.

              https://www.raspberrypi.org/forums/viewtopic.php?t=38070&p=315696

              Edit: Scratch that. It won't help your ES problem.

              Edit 2: I can think of a very technical way to solve it, but I haven't worked out the process completely myself yet. If you map the controllers into two virtual "js" controller slots, using xboxdrv to differentiate the controllers based on their hardware id rather than the their naming scheme, you'd be cooking with gas. Even after all that you'd still have to use the information in that link for RetroArch to see them as two different XBox controllers, so hopefully someone has a better idea.

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              N 1 Reply Last reply Reply Quote 0
              • N
                ncarrocino @mediamogul
                last edited by ncarrocino

                @mediamogul Thanks for the input! i was hoping there was something easy i was just missing (im new to linux and all of this so it would be very easy to do so) but looks like it really is a more advanced issue! Is it possible to have a player 1 and player 2 in ES? or is that only in rom?

                1 Reply Last reply Reply Quote 0
                • RiverstormR
                  Riverstorm @ncarrocino
                  last edited by

                  @ncarrocino said in Help differentiating between two different controllers:

                  @Riverstorm yes exactly. if put them both into the es config and it would use whatever one is above the other. Im also assuming there is no way to change the name device name to something else? i can functionally play both systems fine but after putting all the time into setting it up i would like to have it set right for the menu options as well.

                  I don't know if you could use a deviceGUID or some other simple value like "id" or "value" or something. Maybe someone with more advanced knowledge will add a comment. It seems simple enough. I've never run up against the issue because usually my joysticks are uniform in they are all the same model but I get preferring to use a NES stick for NES games and a SNES stick for SNES games.

                  N 1 Reply Last reply Reply Quote 0
                  • N
                    ncarrocino @Riverstorm
                    last edited by

                    @Riverstorm yeah i have a nes, snes, ps1, and n64 controller that all work fine independently except for the nes and snes mix up in ES. Im just OCD and want that snes button to be B and not X! Ill keep trying things. They are both made by the same company maybe if I just buy a different one it would have a different device name.

                    RiverstormR 1 Reply Last reply Reply Quote 0
                    • RiverstormR
                      Riverstorm @ncarrocino
                      last edited by

                      @ncarrocino said in Help differentiating between two different controllers:

                      They are both made by the same company maybe if I just buy a different one it would have a different device name.

                      I think they lump several sticks into one driver, especially generic ones, so there's a good chance it will still be the same driver. If possible you might want test it before investing in a new stick but I suppose that requires knowing someone that happens to have another stick laying around. :)

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        ncarrocino @Riverstorm
                        last edited by

                        @Riverstorm i have two different ps1 controllers and they come up different so maybe its worth a shot! they were only like 7 dollars so not too much of an investment if it doesnt work out. Thanks for your help!

                        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.