• 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.4k 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.
  • S
    skrapps914 @meleu
    last edited by 4 Aug 2016, 23:33

    @meleu undefinedhttp://i.imgur.com/vSiUQjm.png what about this?

    1 Reply Last reply Reply Quote 0
    • M
      meleu @lilbud
      last edited by 11 Aug 2016, 18:06

      @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
      L 1 Reply Last reply 11 Aug 2016, 18:39 Reply Quote 0
      • L
        lilbud @meleu
        last edited by 11 Aug 2016, 18:39

        @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

        M 1 Reply Last reply 11 Aug 2016, 19:13 Reply Quote 1
        • M
          meleu @lilbud
          last edited by 11 Aug 2016, 19:13

          @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
          L 1 Reply Last reply 11 Aug 2016, 20:14 Reply Quote 0
          • L
            lilbud @meleu
            last edited by lilbud 8 Nov 2016, 21:16 11 Aug 2016, 20:14

            @meleu I will get on that

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

            Backlog: http://backloggery.com/lilbud

            M 1 Reply Last reply 11 Aug 2016, 20:43 Reply Quote 0
            • M
              meleu @lilbud
              last edited by 11 Aug 2016, 20:43

              @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
              L 1 Reply Last reply 11 Aug 2016, 20:52 Reply Quote 0
              • L
                lilbud @meleu
                last edited by lilbud 8 Nov 2016, 21:52 11 Aug 2016, 20:52

                @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

                M 1 Reply Last reply 11 Aug 2016, 21:05 Reply Quote 1
                • M
                  meleu @lilbud
                  last edited by 11 Aug 2016, 21:05

                  @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
                  L 1 Reply Last reply 11 Aug 2016, 21:11 Reply Quote 0
                  • L
                    lilbud @meleu
                    last edited by 11 Aug 2016, 21:11

                    @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

                    M 1 Reply Last reply 11 Aug 2016, 21:27 Reply Quote 0
                    • M
                      meleu @lilbud
                      last edited by 11 Aug 2016, 21:27

                      @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
                      L 1 Reply Last reply 11 Aug 2016, 21:35 Reply Quote 0
                      • L
                        lilbud @meleu
                        last edited by 11 Aug 2016, 21:35

                        @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

                        M 1 Reply Last reply 11 Aug 2016, 22:38 Reply Quote 0
                        • M
                          meleu @lilbud
                          last edited by 11 Aug 2016, 22:38

                          @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
                          M 1 Reply Last reply 11 Aug 2016, 22:44 Reply Quote 0
                          • M
                            mattrixk @meleu
                            last edited by 11 Aug 2016, 22:44

                            @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

                            L M 2 Replies Last reply 11 Aug 2016, 22:57 Reply Quote 0
                            • L
                              lilbud @mattrixk
                              last edited by 11 Aug 2016, 22:57

                              @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

                              M 1 Reply Last reply 11 Aug 2016, 23:08 Reply Quote 0
                              • M
                                mattrixk @lilbud
                                last edited by 11 Aug 2016, 23:08

                                @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
                                • M
                                  meleu @mattrixk
                                  last edited by 11 Aug 2016, 23:11

                                  @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
                                  M 1 Reply Last reply 11 Aug 2016, 23:26 Reply Quote 0
                                  • M
                                    mattrixk @meleu
                                    last edited by 11 Aug 2016, 23:26

                                    @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 12 Aug 2016, 01:48

                                      @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.

                                      M 1 Reply Last reply 12 Aug 2016, 01:59 Reply Quote 0
                                      • M
                                        mattrixk @jacobfk20
                                        last edited by 12 Aug 2016, 01:59

                                        @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
                                        • M
                                          meleu
                                          last edited by meleu 13 Aug 2016, 04:03

                                          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
                                          72 out of 154
                                          • First post
                                            72/154
                                            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