Key codes and Global Hotkey config file locations - christianhaitian/rk2020 GitHub Wiki
Key Codes
Useful for reassigning use of buttons for OS based events (such as Global Hotkeys)
DPAD Up = 544
DPAD Down = 545
DPAD Left = 546
DPAD Right = 547
A = 305
B = 304
X = 307
Y = 308
Select = 704 = OGA F1
Start = 709 = OGA F6
L1 = 310
L2 = 706 = OGA F3
R1 = 311
R2 = 707 = OGA F4
Global Hotkey config file locations:
TheRA = /usr/local/bin/oga_events.py (Modify f3 = 706 to your preferred key code as listed above)
EmuElec = /storage/.config/emuelec/scripts/oga_events.py (Modify f5 = 708 to your preferred key code as listed above)
Useful for Mupen64plus key reassignment in TheRA-NTFS (/opt/mupen64plus/InputAutoCfg.ini) in the odroidgo2_joypad section and modifying joystick events (ex. Quit emulator and save state hotkeys) in /home/odroid/.config/mupen64plus.cfg