• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Here is a way to select joystick for players 1-4 (global or emu specific)

Scheduled Pinned Locked Moved Help and Support
retroarchinputcontrollerjoystickjoypad index
154 Posts 28 Posters 133.9k 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.
  • M
    meleu
    last edited by 30 Jun 2017, 19:01

    Changelog

    • Installation procedure has changed (some people were having issues with the previous one). The OP and README file were updated accordingly.
    • solved the issue when ~/RetroPie directory is on a partition that doesn't support symbolic links (thanks @TMNTturtlguy for reporting this issue).
    • added the possibility to invoke the tool in runcommand menu and configure the joystick input for the system that is about to be launched (thanks BuZz for adding such a cool feature on runcommand).
    • Useful topics
    • joystick-selection tool
    • rpie-art tool
    • achievements I made
    P 1 Reply Last reply 5 Nov 2017, 02:14 Reply Quote 1
    • M
      meleu @Rion
      last edited by 30 Jun 2017, 19:05

      @Rion said in Here is a way to select joystick for players 1-4 (global or emu specific):

      Looking forward for Joystick support and included in run command before you start a game! :)

      More than one year later but this day finally has come! Update the script and you'll get what you want! ;-)

      Note: this feature depends on RetroPie 4.2.8+

      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      R D 2 Replies Last reply 30 Jun 2017, 19:25 Reply Quote 1
      • T
        TMNTturtlguy @meleu
        last edited by 30 Jun 2017, 19:10

        @meleu Thanks for doing this, unfortunately I am once again traveling and don't have my pi. I will test this upon my return in 3 days.

        1 Reply Last reply Reply Quote 0
        • R
          Rion @meleu
          last edited by 30 Jun 2017, 19:25

          @meleu High Five!

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

          1 Reply Last reply Reply Quote 0
          • D
            Darksavior @meleu
            last edited by Darksavior 7 May 2017, 09:56 5 Jul 2017, 08:44

            @meleu I get an error when trying to download the install.sh script. https://pastebin.com/8iYrjcBT
            I'm on 4.2.9 but kernel is from 4.2. I started with a clean 4.2 image. So I then downloaded it on my pc instead and transferred to my pi that way. It now gives me:
            ERROR: "/root/RetroPie-Setup" directory not found! Looks like you don't have RetroPie-Setup scripts installed in the usual place. Aborting...
            I tried to execute it in my /home/pi/RetroPie-Setup/ folder.
            I also tried /home/pi/ and /home/

            M 1 Reply Last reply 5 Jul 2017, 09:01 Reply Quote 0
            • M
              meleu @Darksavior
              last edited by meleu 7 May 2017, 10:03 5 Jul 2017, 09:01

              @Darksavior it's weird. @edmaul69 reported the same thing but I'm unable to reproduce. Anyways I noticed a little bug on install.sh and just fixed it. Can you try it again, please?

              curl https://raw.githubusercontent.com/meleu/RetroPie-joystick-selection/master/install.sh -o install.sh
              chmod a+x install.sh
              ./install.sh
              
              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              D M 2 Replies Last reply 5 Jul 2017, 09:07 Reply Quote 0
              • D
                Darksavior @meleu
                last edited by Darksavior 7 May 2017, 10:20 5 Jul 2017, 09:07

                @meleu Now I can download the installer on my pi without errors, but when installing it, it still gives me the same error.
                Update: I fixed it. I changed the installer's "$home/RetroPie-Setup" to "/home/pi/RetroPie-Setup"
                Sorry I didn't open the file to find out the problem before. I've never opened an sh file in my life:P

                1 Reply Last reply Reply Quote 0
                • M
                  mattrixk @meleu
                  last edited by 28 Jul 2017, 05:24

                  @meleu I've used this script a couple of times without issue, but I'm doing a fresh install and I'm getting an error:

                  0_1501219392140_controller script error.JPG

                  Is this something wrong on my end? I had trouble setting up the wifi too (it wouldn't let me input a password).

                  My ES themes: MetaPixel | Spare | Io | Indent

                  M 1 Reply Last reply 28 Jul 2017, 05:26 Reply Quote 0
                  • M
                    meleu @mattrixk
                    last edited by 28 Jul 2017, 05:26

                    @mattrixk said in Here is a way to select joystick for players 1-4 (global or emu specific):

                    Is this something wrong on my end?

                    Yes. I'm pretty sure.

                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    M 1 Reply Last reply 28 Jul 2017, 05:32 Reply Quote 0
                    • M
                      mattrixk @meleu
                      last edited by mattrixk 28 Jul 2017, 05:32

                      @meleu Darn. Any ideas? Either what it might be, or how to test out what it might be?

                      Edit: I was able to update retropie via the setup script without issue, so I should be connected to the net.

                      My ES themes: MetaPixel | Spare | Io | Indent

                      M 1 Reply Last reply 28 Jul 2017, 05:38 Reply Quote 0
                      • M
                        meleu @mattrixk
                        last edited by 28 Jul 2017, 05:38

                        @mattrixk
                        Can you ping github.com?

                        • Useful topics
                        • joystick-selection tool
                        • rpie-art tool
                        • achievements I made
                        M 2 Replies Last reply 28 Jul 2017, 05:44 Reply Quote 0
                        • M
                          mattrixk @meleu
                          last edited by 28 Jul 2017, 05:44

                          @meleu
                          ping: unkown host github.com

                          I had just followed https://www.modmypi.com/blog/how-to-give-your-raspberry-pi-a-static-ip-address-update to set up a static IP address. Maybe that has interfered with something...

                          My ES themes: MetaPixel | Spare | Io | Indent

                          1 Reply Last reply Reply Quote 0
                          • M
                            mattrixk @meleu
                            last edited by 28 Jul 2017, 05:50

                            @meleu That was the problem. I deleted the lines from /etc/dhcpcd.conf and I was able to install your script without a problem. Cheers.

                            Also I'll point out, on your github page (and just a few posts above this) you have:
                            curl https://raw.githubusercontent.com/meleu/RetroPie-joystick-selection/master/install.sh -o install.sh

                            But in your update on the first post of this thread it just has:
                            curl https://raw.githubusercontent.com/meleu/RetroPie-joystick-selection/master/install.sh

                            My ES themes: MetaPixel | Spare | Io | Indent

                            M 1 Reply Last reply 28 Jul 2017, 05:56 Reply Quote 1
                            • M
                              meleu @mattrixk
                              last edited by 28 Jul 2017, 05:56

                              @mattrixk You're right. Thanks!
                              I've just fixed it in the OP too.

                              • Useful topics
                              • joystick-selection tool
                              • rpie-art tool
                              • achievements I made
                              1 Reply Last reply Reply Quote 1
                              • P
                                PeriodicLogic @meleu
                                last edited by 5 Nov 2017, 02:14

                                @meleu said in Here is a way to select joystick for players 1-4 (global or emu specific):

                                added the possibility to invoke the tool in runcommand menu and configure the joystick input for the system that is about to be launched (thanks BuZz for adding such a cool feature on runcommand).

                                Are there any instructions on how to utilize the ability to put joystick selection on the "push A Button" menu when launching particular ROMs?

                                I thought at one time I saw it on my installation (when I wasn't looking for it), but now I am looking for it and can't find it.

                                I'm running RetroPie 4.3.3 and have updated the joystick selection add-on from source.

                                Or have I misconstrued the bullet point above?

                                Thanks in advance,
                                Rob

                                P 1 Reply Last reply 5 Nov 2017, 03:01 Reply Quote 0
                                • P
                                  PeriodicLogic @PeriodicLogic
                                  last edited by 5 Nov 2017, 03:01

                                  @periodiclogic @meleu [Solved!]

                                  For some reason, my "/opt/retropie/configs/all/runcommand-menu" directly was named "/opt/retropie/configs/all/runcommand-menu." I deleted the erroneous period at the end of the name, and then updated joystick-selection from source.

                                  That appears to have automatically added the "select joystick.sh" command to the correct folder, and I should be all set now.

                                  1 Reply Last reply Reply Quote 1
                                  • K
                                    KingBeetle
                                    last edited by 18 Dec 2017, 03:12

                                    Great tool! I messed around with config files for a good 20 minute with no luck before I stumbled across your tool. Made it a snap to reconfigure.

                                    Thanks!

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      partTimeNinja
                                      last edited by 24 Dec 2017, 12:11

                                      I see you can choose the order of 4 different "joysticks" but my question is a little different. I have one set of arcade controls plugged in through an ipac so it shows up as a keyboard, and then I have a BT dongle with a PS3 controller. I have it set as the arcade is P1 and PS3 is set for P2, but what if I want to change those on the fly?

                                      I saw you can go launch a rom and then go into the menu, settings, input, and check what is bound to P1 or P2. I guess my question could be, can I set the keyboard as an autoconfig so it auto configs when I select it from the menu?

                                      Sorry if that seems like rambling. Not sure the best way to word everything. Thanks!

                                      1 Reply Last reply Reply Quote 0
                                      • FurlugeF
                                        Furluge @meleu
                                        last edited by 24 Mar 2019, 06:07

                                        @meleu said in Here is a way to select joystick for players 1-4 (global or emu specific):

                                        And now the install.sh creates a gamelist.xml entry for joystick_selection.sh. So there is no problem when the "PARSE GAMELISTS ONLY" is set to "ON".

                                        Can anyone tell me exactly what this entry should say? A gamelist.xml entry wasn't created when I ran the install.sh

                                        mituM 1 Reply Last reply 24 Mar 2019, 06:10 Reply Quote 0
                                        • mituM
                                          mitu Global Moderator @Furluge
                                          last edited by 24 Mar 2019, 06:10

                                          @Furluge It's called Joystick Selection.

                                          N 1 Reply Last reply 20 Aug 2019, 13:18 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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received