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

    Keyboard Emulation with Gamepad outside of emulators

    Scheduled Pinned Locked Moved Help and Support
    keystrokekeyboardemulationjoy2keyqjoypad
    17 Posts 7 Posters 8.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.
    • T
      TheLuthier
      last edited by TheLuthier

      Congrats on the new forum! It looks great. I think this the right place to post about controller stuff...

      I’ve built a “PiSP Pocket” device by installing a Raspberry Pi 3 into a gameboy pocket. And an annoying inconvenience I’m having is the requirement to plug in a keyboard when I want to tweak retropie settings like wifi, audio, memory splitting, etc or the runcommand options.

      So I’m trying to figure out a way to make my controls (which are USB via Teensy) emulate keyboard strokes outside of emulators and emulation station. I know some emulators allow keystrokes via hotkeys, but they don’t seem to apply to Retropie’s settings and runcommand.

      I’ve spent a couple hours researching apps like joy2key and QJoyPad but they seem to function only or best as a GUI which I can’t do with Retropie…

      Does anyone have any ideas for accomplishing this?

      glennlakeG 1 Reply Last reply Reply Quote 1
      • H
        Hellcube
        last edited by

        Did You try joymap?

        T 1 Reply Last reply Reply Quote 0
        • glennlakeG
          glennlake @TheLuthier
          last edited by

          @TheLuthier I don't think I understand what your looking for. Are you trying to emulate a full keyboard? If so the only way would be to setup what is called a cording keyboard. In a cording keyboard you would press a combination of keys a one time in order to enter keystrokes. That would be very tricky. I would think a small wireless keyboard like the FAVI usb keyboard. would be easier. I picked one up off ebay for about 5 dollars several years ago.

          1 Reply Last reply Reply Quote 0
          • T
            TheLuthier @Hellcube
            last edited by

            @Hellcube - Thanks for the response! No, I've not heard of joymap. A quick search only reveals a sourceforge page - Is that the best place to learn about it?

            @glennlake - Sorry for not explaining clearly. So retropie has the settings menu that offers access to sound, wi-fi, memory split, etc. But when you click on any of those options, the gamepad isn't recognized as input - It requires a keyboard.

            Say if I'm on a plane and want to simply disconnect the wifi to extend battery life, it's annoying to have to whip out a second device (keyboard or phone) to accomplish that.

            I figured the ability to emulate keyboard strokes with my gamepad would be the answer. Retropie + retroarch offers that kind of thing inside the emulators, but I need to do it outside emulators as far as I can tell. But maybe it's more difficult than I think it should be..

            glennlakeG 1 Reply Last reply Reply Quote 0
            • glennlakeG
              glennlake @TheLuthier
              last edited by

              @TheLuthier OK I under the problem but off the top of my head I don't have an answer. I'm using a logitech F310 USB controller with RetroPie 3.7 on a Pi3 and I can access and change settings by scrolling into the RetroPie setup menu and pressing 'A' to open any of the listed menus. I see your using 3.6. I think with 3.7 the ability to access this menu was part of the upgrade. I didn't try it on earlier versions. This may be the fix.

              T 2 Replies Last reply Reply Quote 1
              • T
                TheLuthier @glennlake
                last edited by

                @glennlake - Oh nice, I'm going to try upgrading - thank you!

                1 Reply Last reply Reply Quote 0
                • T
                  TheLuthier @glennlake
                  last edited by

                  @glennlake - I upgraded to retropie 3.7 and I see the cool new settings icons along with some additional 'start button' settings, like the audio adjustment. But when I select any retropie settings, like theme manager, my usb gamepad is no longer recognized. You're saying that yours remains recognized in the same situation?

                  W glennlakeG 3 Replies Last reply Reply Quote 0
                  • W
                    wetriner @TheLuthier
                    last edited by

                    @TheLuthier There is definitely supposed to be joypad functionality in the retropie setup menus, and I believe it has been there for as long as I've been with RetroPie(something like 2.7 or so) It's just based on your joypad 0 button and DPAD. But it's set to work for typical setups.

                    T 1 Reply Last reply Reply Quote 0
                    • glennlakeG
                      glennlake @TheLuthier
                      last edited by

                      @TheLuthier I don't normally change things like the theme but it should be changeable from the UI Settings. Should be but it's not. All I see is the basic 'carbon' theme. I will need to dig into this but yes, most of the settings can be changed from my usb controller. Let me dig into this some more and I'll get back with you.

                      1 Reply Last reply Reply Quote 0
                      • OrnitorickO
                        Ornitorick
                        last edited by

                        I understand, is like wen you are seting up the wifi password but you need to plug a usb keyboard to write .
                        Hum.. i was wondering how to solve this problem, but i dont have idea.
                        The problem is that you can navigate on the menu, but you can only "Click" and "scroll" on menu. If you need to type something the controller dont have keyboard. :(

                        Type on a "Virtual Keyboard" with the controlle would be nice.

                        T 1 Reply Last reply Reply Quote 1
                        • RionR
                          Rion
                          last edited by

                          Virtual Keyboard would be so sweet!

                          FBNeo rom filtering
                          Mame2003 Arcade Bezels
                          Fba Arcade Bezels
                          Fba NeoGeo Bezels

                          1 Reply Last reply Reply Quote 0
                          • W
                            wetriner
                            last edited by

                            I definitely agree that a virtual keyboard would be nice. I believe that would be very hard to implement with those menus. Unless you were able to launch a virtual keyboard script to type an entry and then get back to the retropie menus, but even that sounds like a complete menu overhaul.

                            The biggest one is the wifi, since those that normally ssh in can't. And if they don't have a linux OS, they can't just transfer the wpa_supplicant.conf over. Their only options is USB keyboard or using ethernet. But for the rest of the stuff, there's a ton of options on how to edit that don't require direct keyboard control.

                            1 Reply Last reply Reply Quote 0
                            • glennlakeG
                              glennlake @TheLuthier
                              last edited by

                              @TheLuthier A quick question. Can you change themes? I can't with my gamepad or with a keyboard. Can you help?

                              glennlakeG 1 Reply Last reply Reply Quote 0
                              • glennlakeG
                                glennlake @glennlake
                                last edited by

                                @glennlake said in Keyboard Emulation with Gamepad outside of emulators:

                                @TheLuthier A quick question. Can you change themes? I can't with my gamepad or with a keyboard. Can you help?

                                Update. I found that I can update my themes now. I think it has to do with the internet connection. I have been using the internal wifi on the Pi3 and I could do all I needed but not the themes. I plugged in an ethernet cable and now I can change and update themes to my hearts content. I think it may have something to do with the time on the Pi. I noticed it wasn't correct but using it for games it thought it didn't matter. But when you connect to a remote server I think it does. Anyway, I can now change themes using the UI Settings on the main menu. I hope all of this helps. I know I learned a lot. :-)

                                1 Reply Last reply Reply Quote 0
                                • BuZzB
                                  BuZz administrators
                                  last edited by

                                  The time will be important for validation of SSL certificates. If connected to the internet on boot, the time should be automatically set correctly (and when connecting to a wireless network).

                                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    TheLuthier @Ornitorick
                                    last edited by TheLuthier

                                    @Ornitorick said in Keyboard Emulation with Gamepad outside of emulators:

                                    I understand, is like wen you are seting up the wifi password but you need to plug a usb keyboard to write ...

                                    Right, that's a good example. Although I don't expect to be able to actually type characters with just my joypad. But I find a lot of those settings are toggles or selectable values, which could be accomplished with D-pad and 2 buttons on the joypad (Return + ESC). Here's a video of when it's annoying:

                                    https://drive.google.com/file/d/1ve1SiX0xZ_fJhcrg8SO8aqfsbwhKHujARA/preview

                                    Once I select one of the settings options, I get to the blue-screen and I'm stuck without a keyboard or ssh console. It sounds like @glennlake is able to control the blue screen with his gamepad, which is what I'm after.

                                    And yes @glennlake, I'm able to change the theme with the new UI settings that are a part of retropie 3.7. It was a bad example to illustrate - should have made a video when originally posting lol

                                    Thanks for the responses, guys!

                                    1 Reply Last reply Reply Quote 0
                                    • T
                                      TheLuthier @wetriner
                                      last edited by

                                      @wetriner said in Keyboard Emulation with Gamepad outside of emulators:

                                      @TheLuthier There is definitely supposed to be joypad functionality in the retropie setup menus, and I believe it has been there for as long as I've been with RetroPie(something like 2.7 or so) It's just based on your joypad 0 button and DPAD. But it's set to work for typical setups.

                                      UPDATE: Aahhha! You sir, are correct. I tested and indeed my joypad 0 works (R1 for my setup) and my analog stick is used for navigation (though it's a bit backwards with X axis being up and down). Essentially this solves my original question - Thanks!

                                      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.