RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Looking for testers: custom joystick mappings for runcommand/retropie_setup menus

    Scheduled Pinned Locked Moved Ideas and Development
    joy2keyruncommandretropie-setup
    26 Posts 8 Posters 7.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
      mosi0815
      last edited by

      I followed your instructions and I'm now on commit c9c7b15.

      First I testet my Wii U Pro Controller:

      • A invokes the runcommand menu
      • B is enter in the menu
      • In retropie setup invoked out of emulationstation A is enter

      My PS4 controller (bluetooth, sony-hid kernel driver) doesn't work at all, outside emulationstation or games, like before.

      Do I have to do something else except cloning and starting setup once to make it work right?

      meleuM 1 Reply Last reply Reply Quote 0
      • XVOX
        XVO
        last edited by

        Looks very promising, but I've got a quick question for OP. Does this mean that I can map MSX keys like the "F" buttons and "Stop" to a second controller?

        meleuM 1 Reply Last reply Reply Quote 0
        • cafarellidigitalC
          cafarellidigital
          last edited by cafarellidigital

          This is a great modification, thanks for working on it! I haven't been able to test it yet, but I will when I can.

          I'd like to make a request though: I use an official PS3 Bluetooth controller, and in these menus, the "Select" button enters commands, and the "Left Analog Stick" navigates left/right/up/down. I'd love to be able to change that to "X/Cross" enters commands, and the "D-Pad" navigates.

          It seems that your update would easily fix my Select/Cross button issue, but what about the Analog/D-Pad issue?

          Does your update allow for custom mappings (in a text file, for instance), or would that require me to compile my own version?

          Console Stripe Video Splashscreen | Mushberry Splatter Splashscreen

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

            @mosi0815 said in Looking for testers: custom joystick mappings for runcommand/retropie_setup menus:

            First I testet my Wii U Pro Controller:

            • A invokes the runcommand menu
            • B is enter in the menu
            • In retropie setup invoked out of emulationstation A is enter

            Thanks for the feedback.

            Please, go to retropie_setup >> manage packages >> core >> runcommand >> install from binary. And then runcommand menu and retropie_setup will use the same button as enter.

            I'll update the OP with these instructions...

            My PS4 controller (bluetooth, sony-hid kernel driver) doesn't work at all, outside emulationstation or games, like before.

            Do I have to do something else except cloning and starting setup once to make it work right?

            I think it's beyond the scope of my changes on joy2key. Sorry...

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

              @XVO said in Looking for testers: custom joystick mappings for runcommand/retropie_setup menus:

              Does this mean that I can map MSX keys like the "F" buttons and "Stop" to a second controller?

              I think my changes have nothing to do with this. Sorry...

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

                @cafarellidigital said in Looking for testers: custom joystick mappings for runcommand/retropie_setup menus:

                I use an official PS3 Bluetooth controller, and in these menus, the "Select" button enters commands

                This behaviour of PS3 controllers was my main motivation to work on this. Using select as "OK" button is annoying! :-)

                what about the Analog/D-Pad issue?

                Nothing changes with directionals, sorry.

                Does your update allow for custom mappings (in a text file, for instance), or would that require me to compile my own version?

                Look what I wrote in the OP:

                I tweaked joy2key.py to make it get the mappings from the retroarch-joypads config files. So the button you configured to be the A, will be the <enter> on runcommand/retropie_setup menus.

                The mappings will match the configs you make for retroarch.
                ;-)

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                cafarellidigitalC DarkWolfD 2 Replies Last reply Reply Quote 2
                • cafarellidigitalC
                  cafarellidigital @meleu
                  last edited by

                  @meleu great, thank you!

                  Console Stripe Video Splashscreen | Mushberry Splatter Splashscreen

                  1 Reply Last reply Reply Quote 0
                  • DarkWolfD
                    DarkWolf @meleu
                    last edited by

                    @meleu Hopefully this gets implemented into the retropie binarys

                    System: Raspberry 3 Model B, RetroPie 4.2.1
                    Storage: 16gb Micro SD, 64gb USB Drive
                    Theme: Updated NBBA

                    Documentation solves many problems: https://retropie.org.uk/docs/

                    1 Reply Last reply Reply Quote 0
                    • M
                      mosi0815 @meleu
                      last edited by

                      @meleu I just found out that the buttons don't work in raspi-config. Cursor movement is fine but A and B don't work.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by

                        @meleu said in Looking for testers: custom joystick mappings for runcommand/retropie_setup menus:

                        Just like Aunt Josephine, I have a great love of grammar.

                        YES, WE GOT A LEMONY SNICKET FAN! :D

                        Anyways, back on track, I think this seems like a good idea. Helps to clear up confusion and helps to not trigger grammar enthusiasts.

                        1 Reply Last reply Reply Quote 1
                        • ?
                          A Former User
                          last edited by

                          Forgot to mention this as well, but is there a way to change the buttons on the main menu to be fit for each controller? e.x. PS3 and PS4 controllers, since they use different buttons.

                          meleuM 1 Reply Last reply Reply Quote 0
                          • meleuM
                            meleu @A Former User
                            last edited by

                            @itsnitro said in Looking for testers: custom joystick mappings for runcommand/retropie_setup menus:

                            is there a way to change the buttons on the main menu to be fit for each controller? e.x. PS3 and PS4 controllers, since they use different buttons.

                            Didn't get what you mean... Which main menu are you talking about?

                            Anyway, if you configure the circle to be the A on your controller (PS2/PS3/PS4/Whatever), it will be the <enter> on the runcommand/retropie_setup. Is it you're talking about?

                            • Useful topics
                            • joystick-selection tool
                            • rpie-art tool
                            • achievements I made
                            1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User
                              last edited by

                              The Emulation Station menu, the one that looks like this: 0_1495061501943_d1942560-627b-4bc6-b554-b2cf2adc64e1-image.png

                              meleuM 1 Reply Last reply Reply Quote 0
                              • meleuM
                                meleu @A Former User
                                last edited by

                                @itsnitro oh... my changes in joy2key has nothing to do with emulationstation...
                                if your controllers don't have an uniform behaviour, I think you need to reconfigure them.

                                • Useful topics
                                • joystick-selection tool
                                • rpie-art tool
                                • achievements I made
                                1 Reply Last reply Reply Quote 0
                                • ?
                                  A Former User
                                  last edited by

                                  Oh.
                                  Alright then.

                                  1 Reply Last reply Reply Quote 0
                                  • DarkWolfD
                                    DarkWolf @DarkWolf
                                    last edited by

                                    @DarkWolf So I was finally able to test the "older" ps4 controller and I have to say "It works, ... kind of"
                                    The input works but has a delay around 5 seconds or something like that
                                    Dunno if this is a problem with the kernel, the controller itself or the joy2key script...

                                    System: Raspberry 3 Model B, RetroPie 4.2.1
                                    Storage: 16gb Micro SD, 64gb USB Drive
                                    Theme: Updated NBBA

                                    Documentation solves many problems: https://retropie.org.uk/docs/

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

                                      @DarkWolf said in Looking for testers: custom joystick mappings for runcommand/retropie_setup menus:

                                      The input works but has a delay around 5 seconds or something like that
                                      Dunno if this is a problem with the kernel, the controller itself or the joy2key script...

                                      Does it happen on retropie-setup/runcommand menus only?

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

                                        I think it's worth to mention it was implemented. Those who like to update frequently may have noticed. The PR 1980 was merged, and now the "a button" means "A button".

                                        Thanks to all the testers here!

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