mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
hm801: Add support for plugins.
Change-Id: I81654db87d38324d8680a56bcdb7e9922ee5b619
This commit is contained in:
parent
397863ab3d
commit
6ee3fc81d9
51 changed files with 398 additions and 20 deletions
|
@ -1218,6 +1218,18 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define CHIP8_KEY6 BUTTON_RIGHT
|
||||
#define CHIP8_KEY8 BUTTON_LEFT
|
||||
|
||||
#elif (CONFIG_KEYPAD == HM801_PAD)
|
||||
#define CHIP8_OFF (BUTTON_POWER|BUTTON_SELECT)
|
||||
#define CHIP8_KEY1 BUTTON_PREV
|
||||
#define CHIP8_KEY2 BUTTON_UP
|
||||
#define CHIP8_KEY3 BUTTON_DOWN
|
||||
#define CHIP8_KEY4 BUTTON_LEFT
|
||||
#define CHIP8_KEY5 BUTTON_SELECT
|
||||
#define CHIP8_KEY6 BUTTON_RIGHT
|
||||
#define CHIP8_KEY7 BUTTON_NEXT
|
||||
#define CHIP8_KEY8 BUTTON_PLAY
|
||||
#define CHIP8_KEY9 BUTTON_POWER
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue