mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Introduce plugin keymaps for the Sony NWZ Series
Change-Id: I46b8766bd44118bce4931b7ee71815ae5f51cb2e Reviewed-on: http://gerrit.rockbox.org/879 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
This commit is contained in:
parent
6e575b6c70
commit
c9816f57bf
48 changed files with 470 additions and 2 deletions
|
@ -1231,6 +1231,14 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define CHIP8_KEY6 BUTTON_RIGHT
|
||||
#define CHIP8_KEY8 BUTTON_LEFT
|
||||
|
||||
#elif (CONFIG_KEYPAD == SONY_NWZ_PAD)
|
||||
#define CHIP8_OFF BUTTON_BACK
|
||||
#define CHIP8_KEY2 BUTTON_UP
|
||||
#define CHIP8_KEY4 BUTTON_DOWN
|
||||
#define CHIP8_KEY5 BUTTON_PLAY
|
||||
#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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue