-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Add generic keyboard mapping. #858
Comments
We already do something related for the gamepads. So a generic one for a keyboard would not be overly difficult. However I have not seen any commercial devices which would be useful enough to make it worth the effort. (other than the gamepads) I have a personal plan to try build a dedicated gamepad using an esp32 and a rotary encoder, but it is held up in the Christmas postal deliveries. That will require a new gamepad configuration, which I can make reasonably generic. Happy to rethink if I can be shown something commercial that would be usable. |
I was going to use this. I was also playing with creating my own controller using Adafruit ItsyBitsy M0. I've already done some testing and using the Arduino Keyboard library which worked just fine when mapped existing keyevents as one of the listed gamepads. I'm also got some inspiration from the following for ideas. The Arduino really aren't a problem as you can control the key's it presses. It's the manufactured controllers which create troubles. |
ok. the 'Mini USB Media Speaker Volume Controller' is kind-of interesting. Coming up with a screen to allow customisable configuration of the buttons will not be too difficult, but it may be overkill unless there are likely to be other devices. Having a 'standard' device type/support for Arduino based devices would make sense, and I was expecting to have to create something like that (if in can get the esp32 to do what I want). Even if I don't get mine going I am happy to assist to get yours going. The USB volume controller one would be much easier to do if you reuse the existing gamepad functionality. (not 'universally' customisable) |
@rbthomp Peter |
What would be really cool for my android phone is to regulate speed of the (default) throttle with the volume buttons. Here's a how-to I found: https://stackoverflow.com/questions/2874743/android-volume-buttons-used-in-my-application |
You can already control the throttles with the volume buttons. Also with headphone volume buttons, and also USB volume dials. |
Would there be any interest in adding support for generic key binding to functions? Instead of mapping a gamepad key to a function you would map a Engine Driver function to a KeyEvent.
The UI could work like this, select an Engine Driver function from the a list then, you press the key you want bound to function. You would still have default key mappings profiles for devices you want to support, this would just extend the app to allow for any of the multimedia controllers that function as a Human Interface Device to be used with Engine Driver.
Let me know your thoughts, I don't have much Android development experience, but I could probably put together a pull request if needed.
The text was updated successfully, but these errors were encountered: