forked from len0rd/rockbox
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
|
|
@ -584,6 +584,21 @@
|
|||
#elif CONFIG_KEYPAD == SHANLING_Q1_PAD
|
||||
/* use touchscreen */
|
||||
|
||||
#elif CONFIG_KEYPAD == MA_PAD
|
||||
#define CB_SELECT BUTTON_BACK
|
||||
#define CB_UP BUTTON_UP
|
||||
#define CB_DOWN BUTTON_DOWN
|
||||
#define CB_LEFT BUTTON_LEFT
|
||||
#define CB_RIGHT BUTTON_RIGHT
|
||||
#define CB_PLAY BUTTON_PLAY
|
||||
#define CB_MENU BUTTON_MENU
|
||||
#define CB_LEVEL (BUTTON_BACK|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_UP (BUTTON_UP|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_DOWN (BUTTON_DOWN|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_LEFT (BUTTON_LEFT|BUTTON_REPEAT)
|
||||
#define CB_SCROLL_RIGHT (BUTTON_RIGHT|BUTTON_REPEAT)
|
||||
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue