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

    USB Controller player order

    Scheduled Pinned Locked Moved Help and Support
    12 Posts 6 Posters 19.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.
    • D
      djgra79
      last edited by

      I have watched this video from Herb:


      multiple times but the part at around 14:45 when talking about changing the code in retroarch.cfg now appears to be outdated in RetroPie 3.7. The contents of my file looks nothing like that displayed in the video, therefore I cannot find "input_player1_joypad_index" to change the order of the USB ports.
      I have an Xin-Mo plugged into USB port 0 (top left) which is player 1 & 2 for my dual arcade button set.
      In port 1 (bottom left) & port 2 (top right) I have 2x USB SNES controllers which I'd like to use as Player 1 & 2 for NES, SNES and possibly other emulators. How can I update this in RP3.7? Also FYI, not sure if it changes things but I have a wireless keyboard/mouse plugged into port 3 (bottom right)

      1 Reply Last reply Reply Quote 0
      • herb_fargusH
        herb_fargus administrators
        last edited by

        If the lines arent there just add them manually.

        https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#hardcoded-configurations

        If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

        Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

        D 1 Reply Last reply Reply Quote 0
        • D
          djgra79 @herb_fargus
          last edited by

          @herb_fargus Thanks.
          So do I only need to add in the "input_playerxx_joypad_index = xx" lines or copy & paste the whole file (each key mapping) also?

          herb_fargusH 1 Reply Last reply Reply Quote 0
          • herb_fargusH
            herb_fargus administrators @djgra79
            last edited by herb_fargus

            @djgra79 well as you are only changing the index and not the controls you'll only want to put in the index info. we really need to add it as an option to the configuration editor tbh

            And as you mentioned you'll want it different for different systems you'll want to set it in the per system retroarch.cfg rather than the overall retroarch.cfg as mentioned in the aformentioned wiki page

            If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

            Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

            D RionR 2 Replies Last reply Reply Quote 1
            • D
              djgra79 @herb_fargus
              last edited by

              @herb_fargus Does this look right because it doesn't appear to be working:
              https://www.dropbox.com/s/4n72s2b17sewrbi/2016-05-07 13.58.35.jpg?dl=0

              herb_fargusH 1 Reply Last reply Reply Quote 0
              • herb_fargusH
                herb_fargus administrators @djgra79
                last edited by

                @djgra79 yes that looks correct but it will only work with retroarch configs. If you're using a non libretro emulator for the n64 of course it will not work.

                If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                D 1 Reply Last reply Reply Quote 0
                • D
                  djgra79 @herb_fargus
                  last edited by

                  @herb_fargus I'm using mupen64plus-gles2n64 as it is the only one out of the 4 available that runs the games (Mario Kart 64) smoothly

                  BuZzB 1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators @djgra79
                    last edited by

                    @djgra79 that isn't a retroarch/libretro emulator.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      djgra79 @BuZz
                      last edited by

                      @BuZz So does this mean the only way to change controllers for P1 & 2 is to physically swap USb cables?

                      W 1 Reply Last reply Reply Quote 0
                      • J
                        JoargTheBard
                        last edited by

                        Any way to assign indexes for non-retroarch emu's? I'm having a problem with my Bluetooth controllers being assigned to p3 and p4

                        1 Reply Last reply Reply Quote 0
                        • W
                          wetriner @djgra79
                          last edited by

                          @djgra79 You should be able to make some manual changes in your mupen64plus.cfg in /opt/retropie/configs/n64. The bottom half of the file is dedicated to controller options.

                          # Controller configuration mode: 0=Fully Manual, 1=Auto with named SDL Device, 2=Fully automatic
                          mode = 2
                          

                          Feel free to change the SDL joystick name and set the mode to 1, and those settings should stick. If you rearrange the names to how you want them SDL1, SDL2, etc.. you should have control over player number without a physical port swap.

                          1 Reply Last reply Reply Quote 0
                          • RionR
                            Rion @herb_fargus
                            last edited by

                            @herb_fargus said in USB Controller player order:

                            we really need to add it as an option to the configuration editor tbh

                            Yes please :)

                            FBNeo rom filtering
                            Mame2003 Arcade Bezels
                            Fba Arcade Bezels
                            Fba NeoGeo Bezels

                            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.