Recalbox Forum

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

    Virtual Keyboard

    Community projects
    virtual keyboard
    5
    17
    10216
    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.
    • Robsdedude
      Robsdedude @paradadf last edited by

      @paradadf Oh I see what you mean. Well I'm quite far with the development of the web based solution and to be honest its also a different use case than an onscreen keyboard[1]. So I'll finish my work first. I think I'm not the right one when it comes to expanding ES since I'm not too familiar with (and don't like writing) C++.

      [1] Operating an onscreen keyboard with a game pad is really slow and annoys me every time I have to do it. Using the web based solution you can use a touchscreen or even a physical keyboard of another device => much faster.

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

        Update: Proof of concept works. Now I'm working on some essential features (slowly as my studies are keeping me quite busy these days).

        In case someone is interested in the progress, here is a link to the commit history of my fork:
        https://github.com/roba91/node-virtual-gamepads/commits/virtual_keyboard

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

          @Robsdedude Could be a good idea to allow adding 'virtual' keys to the keyboard that could be linked to Recalbox Hotkey commands or to specially created hotkey commandes (I'm thinking ejection and change discs commands on the PSX emulator here).

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

            @voljega You known that there's also the virtual gamepad? I'm saying this because recalbox's hotkey commands are only available for controllers (game pads) not for keyboards. At the moment my keyboard registers it self on the server side (this would be your rpi then) as keyboard not as gamepad. Even though I could register as a mixed device (keyboard and gamepad together). But why would you need this? Why not just use the virtual or a physical gamepad?

            PS: I'm always open for new ideas but I just don't see a benefit big enough to invest more time for that feature.

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

              @Robsdedude for joystick with only a few button like the nes one but also arcade stick with only six buttons it could allow the user to use every hotkey from your keyboard, even the hotkeys not mapped on the joystick (hk + R2 for instance)

              1 Reply Last reply Reply Quote 0
              • paradadf
                paradadf Staff last edited by paradadf

                You need to check this out! A guy on the retropie forum presented a mod for ES almost a month ago...
                There are many interesting things there, but concerning this thread, tada...
                virtual_keyboard
                more pictures here: http://imgur.com/a/Kdoif
                And the source code for anyone who understands it XD
                https://github.com/jacobfk20/EmulationStation-RPiE

                If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                1 Reply Last reply Reply Quote 2
                • Robsdedude
                  Robsdedude last edited by Robsdedude

                  @voljega I now see the need for such a feature. But I somehow think this feature does not fit into the keyboard as this is not the purpose of a keyboard. But I'll think over it and maybe I'll get a good idea how to implement such a feature.

                  @paradadf This is awesome. Thanks for the link. Will you (reaclbox dev-team) copy the OSK from that ES-Fork? I would love to see that feature in a future version of recalbox. But anyway, I will continue the work on my project because, as said, the purpose still differs. Some key points that differ are the fact that using a touch or even hardware keyboard is much faster or the fact that the OSK is missing special keys like enter and is only available for text input in ES but not for controlling the system (e.g. key shortcuts in kodi or any other software that may join the recalbox package in the future).

                  paradadf 1 Reply Last reply Reply Quote 0
                  • paradadf
                    paradadf Staff @Robsdedude last edited by

                    @Robsdedude the OK would be the ENTER, more than that isn't needed for ES. But sadly I belong to the people that doesn't understand the code XD I'm not part of the dev team.

                    If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                    1 Reply Last reply Reply Quote 0
                    • digitaLumberjack
                      digitaLumberjack Staff last edited by

                      @paradadf great news, i'll check that soon.

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

                        (Somewhat disappointing) Update: I will give up on the hardware keyboard support. This is due to the fact that the mapping from JavaScript key codes to lingo key codes (what uinput uses which is used by the server) is ridiculously hard (if not even impossible) to do.

                        So I will sadly have to stick to the touch/click keyboard.

                        Here is just the tip of the iceberg: JavaScript key codes depend on the keyboard layout of the client while lingo's key codes don't. The will stay the same no matter what the system's keyboard layout looks like. So at least I would have to ask the client to tell me it's keyboard layout an have to have a mapping for every possible layout.

                        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