forked from len0rd/rockbox
hm60x: Add support for plugins.
Change-Id: I4cad0881c8249f163680a280f70d1a0b36248da8
This commit is contained in:
parent
8187d8d5d1
commit
397863ab3d
51 changed files with 492 additions and 3 deletions
|
|
@ -433,6 +433,16 @@
|
|||
#define CB_LEVEL BUTTON_BACK
|
||||
#define CB_MENU BUTTON_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == HM60X_PAD
|
||||
#define CB_SELECT BUTTON_SELECT
|
||||
#define CB_UP BUTTON_UP
|
||||
#define CB_DOWN BUTTON_DOWN
|
||||
#define CB_LEFT BUTTON_LEFT
|
||||
#define CB_RIGHT BUTTON_RIGHT
|
||||
#define CB_PLAY (BUTTON_POWER | BUTTON_SELECT)
|
||||
#define CB_LEVEL (BUTTON_POWER | BUTTON_LEFT)
|
||||
#define CB_MENU (BUTTON_POWER | BUTTON_RIGHT)
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue