One For All V2 08-08-2019
Version Two 🎉
https://github.com/withgallantry/OneForAll Finally had time to make some much needed changes to OneForAll. I’ve seperated out the keys configuration from the general configuration which means it’s now possible to keep your configurations seperate. As an example I’ve included two configurations, one for a keyboard and one for a gamepad. There is also a third configuration that has kindly been supplied by Will which suites most emulators.
The other change that’s been made is that you now specify what key to emulate along with the GPIO pin that will trigger it. This means that OneForAll now supports as many keys as you have GPIO pins to use!! You can get a full list of key names from here:
There is also the ability to have combos to trigger a specific keypress. Combos must be made up from pins that have been defined in the KEYS section. An example can be seen in the keysKeyboard.cfg file. The X and Y button, when pressed together, will send a keypress of ‘ESC’ or escape. Summary:
- Keys configuration now in seperate file Keys are now configured in a seperate config file, the name of which is specified in the general.cfg. Three example configurations have been provided.
- Unlimited keys now possible Previously the keys were hardcarded. I’ve now changed how keys are defined and you now specifiy the key code to emulate (list can be found here) along with the GPIO pin to trigger it. That means you can have as many keys as you have free GPIO to use!
- Key Combos You can now specify a key press to be triggered when two or more buttons are pressed. For example you could trigger an escape key press when the buttons X and Y are used together. An example of this can be seen in the keysKeyboard.cfg file.
- Improved Key Repeat If a key is pressed repeatedly it now sends a repeat key code instead of standard code.
Disqus comments are disabled.