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

    Mapping js1 button to js0 on Xin-Mo

    Scheduled Pinned Locked Moved Help and Support
    xin mohotkeyjstesthotkeysmapping
    12 Posts 4 Posters 3.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.
    • hexagoneH
      hexagone
      last edited by

      Dear retrogamers,

      I'm facing a little problem on my config... I have a pre-build arcade machine (from a french specialized company) using a Xin-Mo controller : js0 for Player 1 and js1 for Player 2. Rather that use the system delivred with the machine I prefer my Raspberry Pi 3 with Retropie 4.2. But...

      I want to use a specific button on js1 as the Retroarch Hotkey. But it is impossible to use a button from the Player 2 controller (my js1) with input_enable_hotkey_btn on Retroarch. It seems to take only Player 1 on keyboard keys.
      Some will tell me to just change wires on Xin-Mo card, but it's not reachable...

      So I'm looking for a software solution (or other trick) to map this damned button.
      Do you have an idea to help me ?

      And because technical is not all... I share a picture of this famous arcade machine I made inspired from the classic Star Wars model.
      My Star Wars Arcade Machine

      Finally, I take this opportunity to thank all the Retropie community for its fantastic work!

      AlexMurphyA mediamogulM 2 Replies Last reply Reply Quote 0
      • AlexMurphyA
        AlexMurphy Banned @hexagone
        last edited by

        @hexagone Have you tried adding input_player2_enable_hotkey_btn = "whatever the button input number is"to the retroarch.cfg file? It's not a standard command but worth a shot. Also, I have to say I love the cabinet art. Is this your own work?

        1 Reply Last reply Reply Quote 0
        • hexagoneH
          hexagone
          last edited by

          Thank you for your reply.

          I just tried your suggestion, but there is no effect...

          When I planed to create my cabinet i liked so much the original Star Wars design.
          Also the cabinet I wanted had specific dimensions, so I reworked the original arts (moving elements, extending the death star and stars, rebluid the frame...).

          AlexMurphyA 1 Reply Last reply Reply Quote 1
          • AlexMurphyA
            AlexMurphy Banned @hexagone
            last edited by

            @hexagone Can the Xin Mo be mapped as keystrokes rather than controller inputs? If so it definitely can be done. It's a bit of hassle but should achieve what you want.

            1 Reply Last reply Reply Quote 0
            • mediamogulM
              mediamogul Global Moderator @hexagone
              last edited by

              @hexagone said in Mapping js1 button to js0 on Xin-Mo:

              But it is impossible to use a button from the Player 2 controller (my js1) with input_enable_hotkey_btn on Retroarch.

              If it doesn't already exist, try adding the following to /opt/retropie/configs/all/retroarch.cfg

              all_users_control_menu = "true"
              

              RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

              1 Reply Last reply Reply Quote 0
              • hexagoneH
                hexagone
                last edited by

                I also tried to the all_users_control_menu option... With this you can control the menu via Player 2 but not active the hotkey. :(

                edmaul69E 1 Reply Last reply Reply Quote 0
                • edmaul69E
                  edmaul69 @hexagone
                  last edited by

                  @hexagone after that did you set the button number you want to be the hotkey?

                  1 Reply Last reply Reply Quote 0
                  • hexagoneH
                    hexagone
                    last edited by hexagone

                    Yes... I tried all_users_control_menu = "true" with the specific button (n°11 only on js1), and also with a button present on the 2 players (n°8 on js0 et js1).

                    In the two cases, the buttons from Player 2 (js1) are not taken as a hotkey.

                    Why the world is so cruel ?...

                    mediamogulM 2 Replies Last reply Reply Quote 0
                    • mediamogulM
                      mediamogul Global Moderator @hexagone
                      last edited by

                      @hexagone said in Mapping js1 button to js0 on Xin-Mo:

                      Why the world is so cruel ?...

                      It's all a ploy to keep the liquor stores in business.

                      RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                      1 Reply Last reply Reply Quote 0
                      • hexagoneH
                        hexagone
                        last edited by

                        @mediamogul said in Mapping js1 button to js0 on Xin-Mo:

                        It's all a ploy to keep the liquor stores in business.

                        Cheers !

                        1 Reply Last reply Reply Quote 0
                        • mediamogulM
                          mediamogul Global Moderator @hexagone
                          last edited by

                          @hexagone said in Mapping js1 button to js0 on Xin-Mo:

                          with the specific button (n°11 only on js1), and also with a button present on the 2 players (n°8 on js0 et js1).

                          Where exactly did you set this part?

                          RetroPie v4.5 • RPi3 Model B • 5.1V 2.5A PSU • 16GB SanDisk microSD • 512GB External Drive

                          1 Reply Last reply Reply Quote 0
                          • hexagoneH
                            hexagone
                            last edited by

                            I set it directly in /opt/retropie/configs/all/retroarch-joypads/THTTHTArcadeconsole2PUSBPlayer.cfg

                            input_enable_hotkey_btn = "8"
                            

                            If I use the Retroarch menu (Settings/Input/Input Hotkey Binds/Enable Hotkeys), I can't set it to 11 because is on js1. I can only set button from js0.

                            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.