mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
hitiet ma8/ma9: add in keymaps for all plugins
Largely guesswork. Change-Id: I8ab8d36de4bbdcf25dcf7d3442266bfb0a370b6f
This commit is contained in:
parent
0b5f1b68e6
commit
8b01f939d8
49 changed files with 511 additions and 15 deletions
|
|
@ -471,6 +471,20 @@ static void setoptions (void)
|
|||
#elif CONFIG_KEYPAD == SHANLING_Q1_PAD
|
||||
/* use touchscreen */
|
||||
|
||||
#elif CONFIG_KEYPAD == MA_PAD
|
||||
options.UP = BUTTON_UP;
|
||||
options.DOWN = BUTTON_DOWN;
|
||||
options.LEFT = BUTTON_LEFT;
|
||||
options.RIGHT = BUTTON_RIGHT;
|
||||
|
||||
options.A = BUTTON_PLAY;
|
||||
options.B = BUTTON_BACK;
|
||||
|
||||
options.START = (BUTTON_PLAY|BUTTON_BACK);
|
||||
options.SELECT = (BUTTON_PLAY|BUTTON_MENU);
|
||||
options.MENU = BUTTON_MENU;
|
||||
|
||||
|
||||
#else
|
||||
#error No Keymap Defined!
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue