Recalbox Forum

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

    How to setup keyboard controls (via config file / ssh)

    GamePad/GPIO/USB encoder
    setup keyboard controls config file
    5
    45
    27497
    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.
    • Substring
      Substring @jonas last edited by

      @jonas said in How to setup keyboard controls (via config file / ssh):

      lrwxrwxrwx 1 root root 9 Jan 1 1970 usb-Cypress_I-PAC_Arcade_Control_Interface-event-kbd -> ../event0

      Reading this and what you mentionned when fooling around with evtest, i guess you made the wrong link and should use usb-Cypress_I-PAC_Arcade_Control_Interface-event-kbd, not usb-Cypress_I-PAC_Arcade_Control_Interface-if01-event-kbd

      So remove the first file you created, touch a new file with the one I mentionned, and tell me how things go

      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é

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

        @Substring uhm, now something happened! The X-Arcade events now are registering inputs! And P1/P2 controls are not registering together!

        Indeed I remember there were TWO kbd events listed. But since the tutorial gives as example the one containing that -if01- stuff, I also used that one. The wrong one!...

        However, something is still wrong. My P1 joystick is not sending the up direction... Cannot move up with P1 😛

        EDIT: It looks like all this fiddling around the PCBs has disconnected some wires, making some buttons irresponsive. Therefore: YES, IT WORKS !!!!

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

          @jonas hurray 🙂

          @voljega can you give me the name of the file you had to add ? So that i can make both of them working out of the box ?

          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é

          jonas voljega 2 Replies Last reply Reply Quote 0
          • jonas
            jonas @Substring last edited by

            @Substring , YOU'RE MY HERO! 😛

            Now, maybe someone should touch up the text in the tutorial. People may be using the wrong filename, because they see the -if01- in the provided example.

            @luke, check these last posts by Substring and then try to change the file yourself, it should fix your IPAC.

            voljega Substring 2 Replies Last reply Reply Quote 0
            • voljega
              voljega Banned @jonas last edited by

              @jonas said in How to setup keyboard controls (via config file / ssh):

              Now, maybe someone should touch up the text in the tutorial. People may be using the wrong filename, because they see the -if01- in the provided example.

              yeah we should say that you should try the other one if the first one doesn't work

              1 Reply Last reply Reply Quote 0
              • voljega
                voljega Banned @Substring last edited by

                @Substring hmmm I must open and deploy my transformer bartop to do that gonna take a few days 😛

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

                  @jonas wiki edited 😉

                  @voljega : yeah, ssh'ing is such a pain 😉

                  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é

                  voljega 1 Reply Last reply Reply Quote 0
                  • voljega
                    voljega Banned @Substring last edited by

                    @Substring for sshing you need to take your batop out of the closet, install it near a ethernet cable, plug it, start it.

                    it is AT LEAST 2 mn of work 😄

                    Substring jonas 2 Replies Last reply Reply Quote 0
                    • Substring
                      Substring @voljega last edited by

                      @voljega well, nevermind then 😉

                      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é

                      voljega 1 Reply Last reply Reply Quote 0
                      • voljega
                        voljega Banned @Substring last edited by

                        @Substring no no I'll do it this evening or this weekend

                        1 Reply Last reply Reply Quote 0
                        • jonas
                          jonas @voljega last edited by

                          @voljega , I have a similar problem... I need to bring my RPi2 console near my home router to be able to SSH inside. I've been trying to avoid all the pain of going back and forth loaded with a wooden crate every time something breaks inside.

                          My idea was to use a Windows laptop with WiFi + ICS + small cross-over ethernet cable and connect to the RPi. Unfortunately, for some reason Recalbox is unable to get an IP address via DHCP when using Windows+ICS. That only works with a proper hardware router. However, this is matter for a separate troubleshooting thread...

                          voljega 1 Reply Last reply Reply Quote 0
                          • voljega
                            voljega Banned @jonas last edited by

                            @jonas my problem is just connecting the bartop to ethernet because I don't use wifi on it, ans as my bartop is a foldable one I had to get it out of storage

                            @Substring sure I struggled with the IPAC because I have those two files in /recalbox/share_init/system/configs/xarcade2jstick :
                            usb-Ultimarc_I-PAC_Ultimarc_I-PAC-event-kbd
                            usb-Ultimarc_IPAC_2_Ultimarc_IPAC_2_9-if01-event-kbd

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

                              I am truly sorry @voljega , I was so sure mapping the buttons did not work but I totally failed. After having done the tutorial and then trying to map the I-PAC2 using EmultationStation it in fact did work. Sorry about that. It seems fine now.

                              voljega 1 Reply Last reply Reply Quote 0
                              • voljega
                                voljega Banned @luke last edited by

                                @luke no prob, glad it works for you also !

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

                                Want to support us ?

                                80
                                Online

                                99.6k
                                Users

                                28.1k
                                Topics

                                187.1k
                                Posts

                                Copyright © 2021 recalbox.com