-
Notifications
You must be signed in to change notification settings - Fork 6
Description
I would love to see a way to map Function+button where “button” can include any of the unused hotkey button combos. For example:
- Function+START= “ESC”
- Function+SELECT= “TAB”
- Function+L and R =send bash command to adjust display LCD brightness (assuming that even exists)
- Function to enable/disable SMB (once installed)
Why is this important? For Pi Zero projects, it can be very handy to get access to additional keys like ESC to exit stand-alone emulators or TAB to map keys in MAME. While RetroArch is great, the lower performance of the Zero is often better suited to using stand-alone emulators. Additional RetroArch features, while beneficial, carry overhead that can be conveniently avoided, provided you have a way to exit!
Ideally, defining custom hotkeys would be based on an intuitive UI, but a more practical approach could be done iteratively like so:
- Start with a documented area of a .conf file with syntax examples and a list of available keymap choices. Technical, but functional.
- In a future iteration, the .conf file could pre-list possible hotkey combos for given projects (i.e. MintyPi buttons) with values only populated for those in use (for volume up, down, Wifi, save state, etc.) showing how you could enable map keyboard keypresses or bash commands with the right syntax.
- Same as above, only now go beyond just hotkeys--mapping of ALL buttons could be listed in a common configuration area. So, this version would have their main inputs, then their optional inputs with the hardware function/hotkey held down.
- Develop an interactive config "builder" using script menus where you can select the combo to edit, then scroll through and pick the keyboard key to map, or OTHER and enter a command.
- (Advanced) Incorporate above with the OSD
I think there are opportunities for basic functionality and refinement as you go forward, from raw editing to full-blown user-friendly scripting. Admittedly, the OSD integration is probably painfully more complicated than just exposing hotkey mapping functionality, and I see that is nice to have, but not a crucial aspect of this.