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 138.8k 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.
    • meleuM
      meleu @lilbud
      last edited by

      @lilbud the d-pad and the buttons are transparent, so it doesn't look fine with Carbon theme, for example...

      • Useful topics
      • joystick-selection tool
      • rpie-art tool
      • achievements I made
      lilbudL 1 Reply Last reply Reply Quote 0
      • lilbudL
        lilbud @meleu
        last edited by

        @meleu I will fix it soon, I am not home at the moment.

        Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

        Backlog: http://backloggery.com/lilbud

        meleuM 1 Reply Last reply Reply Quote 1
        • meleuM
          meleu @lilbud
          last edited by

          @lilbud and what about that numbers inside the pads?
          Let's wait you get at home...

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          lilbudL 1 Reply Last reply Reply Quote 0
          • lilbudL
            lilbud @meleu
            last edited by lilbud

            @meleu I will get on that

            Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

            Backlog: http://backloggery.com/lilbud

            meleuM 1 Reply Last reply Reply Quote 0
            • meleuM
              meleu @lilbud
              last edited by

              @lilbud hahaha. That Squidward Quincy Tentacles video was funny!
              I mean the numbers inside the pads, not outside like the old. :-)

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              lilbudL 1 Reply Last reply Reply Quote 0
              • lilbudL
                lilbud @meleu
                last edited by lilbud

                @meleu

                1_1470948749560_path4147.png

                0_1470948749559_ic_videogame_asset_black_48px.png

                Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                Backlog: http://backloggery.com/lilbud

                meleuM 1 Reply Last reply Reply Quote 1
                • meleuM
                  meleu @lilbud
                  last edited by

                  @lilbud about the d-pad and buttons (and now the numbers) transparency:

                  0_1470949492772_screenshot.png

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  lilbudL 1 Reply Last reply Reply Quote 0
                  • lilbudL
                    lilbud @meleu
                    last edited by

                    @meleu this should be the white svg

                    https://drive.google.com/open?id=0B3U0bE6LTfFQX0NUbk1BUUhNVFk

                    Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                    Backlog: http://backloggery.com/lilbud

                    meleuM 1 Reply Last reply Reply Quote 0
                    • meleuM
                      meleu @lilbud
                      last edited by

                      @lilbud (let me know if I'm acting like the Bubble Budy. (yeah! I think I am))
                      Can the d-pad, buttons and numbers be opaque?
                      The transparency between the controllers are good, but the inside the controllers (d-pad and buttons) it looks strange (getting the background colors).

                      • Useful topics
                      • joystick-selection tool
                      • rpie-art tool
                      • achievements I made
                      lilbudL 1 Reply Last reply Reply Quote 0
                      • lilbudL
                        lilbud @meleu
                        last edited by

                        @meleu what exactly do you mean? Post a screenshot. I will be leaving for a game soon. I'll get it when I get back

                        Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                        Backlog: http://backloggery.com/lilbud

                        meleuM 1 Reply Last reply Reply Quote 0
                        • meleuM
                          meleu @lilbud
                          last edited by

                          @lilbud
                          Screenshots with different themes. The transparency issue is more visible in the first two.

                          0_1470954975404_Tela copiada como 2016-08-11 18-51-32.png

                          2_1470954975405_Tela copiada como 2016-08-11 19-00-28.png

                          1_1470954975405_Tela copiada como 2016-08-11 18-57-23.png

                          3_1470954975405_Tela copiada como 2016-08-11 19-35-05.png

                          • Useful topics
                          • joystick-selection tool
                          • rpie-art tool
                          • achievements I made
                          mattrixkM 1 Reply Last reply Reply Quote 0
                          • mattrixkM
                            mattrixk @meleu
                            last edited by

                            @meleu Cheers for giving MetaPixel a try. Any thoughts or critiques for me?

                            Also, I'm working on something special that I think has been lacking from the Theme Scene, but it's going to take me a little time.

                            My ES themes: MetaPixel | Spare | Io | Indent

                            lilbudL meleuM 2 Replies Last reply Reply Quote 0
                            • lilbudL
                              lilbud @mattrixk
                              last edited by

                              @mattrixk does anyone it have anything to do with grid view?

                              Creator of the Radiocade: https://retropie.org.uk/forum/topic/6077/radiocade

                              Backlog: http://backloggery.com/lilbud

                              mattrixkM 1 Reply Last reply Reply Quote 0
                              • mattrixkM
                                mattrixk @lilbud
                                last edited by

                                @lilbud said in Here is a way to select input for RetroArch players 1-4:

                                does anyone it have anything to do with grid view?

                                Unfortunately not. @jacobfk20 Came out with his Emulationstation Mad a couple of days after I posted my theme, and now I'm working on something else, I haven't had the chance to make any changes to it. I'd like to add support for Grid View, and it probably wouldn't be too hard or take too long, but I just don't have the time at the moment.

                                Also, I do my theme coding on a portable Windows version of ES, so I can't install @jacobfk20's mod to try it out , and my Pi pulls it's main duty as a Kodi box in the lounge, so I don't get to keep it at my computer to play with as often as I would like.

                                There will be an update for MetaPixel soon, but the 'something special' I mentioned in my last post takes precedence at the moment.

                                My ES themes: MetaPixel | Spare | Io | Indent

                                1 Reply Last reply Reply Quote 0
                                • meleuM
                                  meleu @mattrixk
                                  last edited by

                                  @mattrixk said in Here is a way to select input for RetroArch players 1-4:

                                  @meleu Cheers for giving MetaPixel a try. Any thoughts or critiques for me?

                                  Well... I didn't like the font that much...

                                  • Useful topics
                                  • joystick-selection tool
                                  • rpie-art tool
                                  • achievements I made
                                  mattrixkM 1 Reply Last reply Reply Quote 0
                                  • mattrixkM
                                    mattrixk @meleu
                                    last edited by

                                    @meleu said in Here is a way to select input for RetroArch players 1-4:

                                    Well... I didn't like the font that much...

                                    Heh, that's a fair enough point. I quite like it myself, but I can see it not being everyone's cup of tea. When I update the theme, I might install another 2 or 3 fonts and then the user can select the one they want. I should be able to make it pretty simple on the user. Do you like the font used in @Rookervik's original Pixel theme?

                                    Is there anything else? I like it and use it myself, but I haven't really heard what anyone else thinks of it, so I don't know what other people want fixed. I'm going to start making a To-Do list for the next release.

                                    My ES themes: MetaPixel | Spare | Io | Indent

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jacobfk20
                                      last edited by

                                      @mattrixk This branch https://github.com/jacobfk20/EmulationStation/tree/Gridview Is windows friendly. It Only has Grid View and is hopefully more stable. Though I don't have a pre compiled version for windows.

                                      mattrixkM 1 Reply Last reply Reply Quote 0
                                      • mattrixkM
                                        mattrixk @jacobfk20
                                        last edited by

                                        @jacobfk20 Awesome. I'm not sure when I'll get a chance to try it out though. I've been home with sickness on and off for the last fortnight, so I had a chance to work on MetaPixel and start some other stuff, but I'm back at work now, so my time is limited again.

                                        My ES themes: MetaPixel | Spare | Io | Indent

                                        1 Reply Last reply Reply Quote 0
                                        • meleuM
                                          meleu
                                          last edited by meleu

                                          Hey guys!

                                          Another step was taken (actually two steps)! Now the joystick-selection tool can configure the joysticks for a specific system too. Another cool feature is the possibility to select the joystick by its name. Let me talk a little more about it...

                                          OK, the previous version already show the joystick name. But it was just a convenience during the configuration process. In the end the configuration was made using the joystick indexes. The problem is that the index can change depending on the USB port you plug your controller, or the order you pair your Bluetooth controller. If you plug/pair something in a different order, maybe you have to configure it again.

                                          The advantage of the selection by name method is that there is no need to care about the joystick connection order. You can configure your "Generic USB SNES gamepad" to be the player1 no matter what USB port you use, and it will always be the player1. Or, better yet, configure your "Fancy Bluetooth joypad" to be the player1 no matter what was the order it was paired or how many USB joysticks are connected.

                                          Oh... If you have controllers with equal names, then, yes, the connection order matters...

                                          I've made my tests here, and apparently everything is OK. But before merge all this changes to the master branch, I would like to ask you to give me feedback if you find some problem:

                                          The branch with the latest features:
                                          https://github.com/meleu/RetroPie-joystick-selection/tree/selectionbyname

                                          Installation:

                                          git clone -b selectionbyname https://github.com/meleu/RetroPie-joystick-selection
                                          cd RetroPie-joystick-selection
                                          bash install.sh
                                          

                                          How it works? Thanks to a new feature added recently in runcommand, we can execute some commands before launch the emulator. So, we can get the joystick names, look for their indexes and put these numbers in retroarch.cfg. The joystick names are stored in the joystick-selection.cfg files in /opt/retropie/configs/SYSTEMNAME/ directory.

                                          I stole the idea got inspired by what @BuZz did recently on configeditor and changed the dialogs to a more user friendly way to choose joysticks.

                                          Hey bash hackers, I'm sure you can do this same thing in a better way. I spent some time commenting the code to help other developers to understand, improve or change it completely.

                                          Thanks to @Zigurana, for telling me to make such tool instead of asking for it, and for show me that I can get the joystick names from SDL library.

                                          And thanks to @BuZz, for implement runcommand-on{start,end}.sh feature in runcommand (it made possible the selection by name method), and for inifuncs (really useful for this project), and for maintaining the RetroPie project.

                                          • Useful topics
                                          • joystick-selection tool
                                          • rpie-art tool
                                          • achievements I made
                                          1 Reply Last reply Reply Quote 2
                                          • meleuM
                                            meleu
                                            last edited by

                                            Some screenshots

                                            Main menu:

                                            main-meu

                                            Global configuration (with no configs):

                                            config-all-unset

                                            Global configuration (by name method, all 4 joysticks are set):

                                            config-all-configured

                                            Systems menu (I have just a few of them installed):

                                            system-menu

                                            System specific (by name method, some joysticks are set):

                                            config-nes

                                            Joystick selection screen:

                                            joy-select

                                            • Useful topics
                                            • joystick-selection tool
                                            • rpie-art tool
                                            • achievements I made
                                            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.