Navigation

    Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Keymapping for two Player

    GamePad/GPIO/USB encoder
    keymapping player
    2
    10
    4235
    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.
    • cronos1
      cronos1 last edited by

      Hello,

      after a long way of searching a resolution for my problem i now ask here. I try to run a recalbox on a raspberry pi 3 with a self made usb encoder. The usb encoder is a Arduino Leonardo who register that a button is pressed and send over usb a normal key from a keyboard to the raspberry. For one player there is no problem but i not found a way how to configure the keymap on the recalbox for the second player.

      1 Reply Last reply Reply Quote 0
      • Substring
        Substring last edited by

        Dude,

        Keyboards are evil on recalbox, we don't supoprt them. The only "thing" that could help you is the xarcade2joystick driver. See https://github.com/recalbox/recalbox-os/wiki/keyboard-encoder-configuration-(EN))

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        1 Reply Last reply Reply Quote 0
        • cronos1
          cronos1 last edited by

          At first thank you for help. But why keyboard is evil. What other way i can control and programm my self made gamepad on my carbinet?

          1 Reply Last reply Reply Quote 0
          • Substring
            Substring last edited by Substring

            As i said, we don't handle keyboards. That means that our magic configgen doesn't handle keyboards, but only gamepads.

            Your solutions :

            • either program your arduino so that the keystrikes sent are the one xarcade2joystick handles
            • either program your arduino so that it sends gamepads events -> https://forum.recalbox.com/topic/3583/problème-de-touches-recalbox-picade could help. If google translate is bad, know that the topic is about reprogramming a picade (looks like it's using a Leonardo) with gamepads events, and that it succeeded

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            1 Reply Last reply Reply Quote 0
            • cronos1
              cronos1 last edited by

              Okay, programm the Leonardo like a Gamepad will help me. Thank you.

              But by the why, i'm wondering that there is no support for keyboard. On the official Recalbox website there are pictures from self made cabinets. The all handle the buttons without keyboard commands?

              1 Reply Last reply Reply Quote 0
              • Substring
                Substring last edited by

                http://www.recalbox.com/media ? I see no keyboard. Well, you can use a keyboard for some configuration steps (cheevos user/pass, wifi settings etc ...). Th ekeyboard may also work in some cases, but the real recalbox mojo that makes any pad working in ES configured for whichever emulator doesn't handle keyboards.

                For example : ESC would quit mupen, but that's a built-in mupen feature, not a recalbox one

                Former dev - Please reply with @substring so that i am notified when you answer me
                Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                1 Reply Last reply Reply Quote 0
                • cronos1
                  cronos1 last edited by

                  Okay i think of my bad english there some mistakes. I dont use a real keyboard i only use a Arduino who send keyboard commands like KEY_ARROW_UP for the joystick. I use normal arcade buttons and joystick that wired with the Arduino. There must be a way to handle two players with my configuration or not?

                  1 Reply Last reply Reply Quote 0
                  • Substring
                    Substring last edited by

                    The only way would be to have your keyboard sending keys handled by xarcade2joystick. See the above link i gave you. Reprogramming the Leonardo for 2 players output will create some other problem in fact, so i wouldn't recommend it.

                    Former dev - Please reply with @substring so that i am notified when you answer me
                    Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                    1 Reply Last reply Reply Quote 0
                    • cronos1
                      cronos1 last edited by

                      Okay, and using the gpio from the arduino is a good Way?

                      1 Reply Last reply Reply Quote 0
                      • Substring
                        Substring last edited by

                        Can't tell, i don't know how it works

                        Former dev - Please reply with @substring so that i am notified when you answer me
                        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Want to support us ?

                        111
                        Online

                        87.4k
                        Users

                        25.7k
                        Topics

                        178.3k
                        Posts

                        Copyright © 2021 recalbox.com