forked from len0rd/rockbox
fuze+: add chip8 keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30662 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bd8c3f9ea6
commit
bba23cbb41
1 changed files with 13 additions and 0 deletions
|
@ -1167,6 +1167,19 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define CHIP8_KEY6 BUTTON_DOWN
|
||||
#define CHIP8_KEY8 BUTTON_UP
|
||||
|
||||
#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
|
||||
|
||||
#define CHIP8_OFF BUTTON_POWER
|
||||
#define CHIP8_KEY1 BUTTON_LEFT
|
||||
#define CHIP8_KEY2 BUTTON_UP
|
||||
#define CHIP8_KEY3 BUTTON_RIGHT
|
||||
#define CHIP8_KEY4 BUTTON_DOWN
|
||||
#define CHIP8_KEY5 BUTTON_PLAYPAUSE
|
||||
#define CHIP8_KEY6 BUTTON_BACK
|
||||
#define CHIP8_KEY7 BUTTON_SELECT
|
||||
#define CHIP8_KEY8 BUTTON_VOL_DOWN
|
||||
#define CHIP8_KEY9 BUTTON_VOL_UP
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue