Commit a few more GoGear HDD6330 keymaps.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28445 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
650a2941fd
commit
450a4e4380
6 changed files with 61 additions and 2 deletions
|
@ -81,6 +81,24 @@
|
|||
#define BTN_UP BUTTON_SCROLL_UP
|
||||
#define BTN_DOWN BUTTON_SCROLL_DOWN
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD
|
||||
#define BTN_QUIT BUTTON_POWER
|
||||
#define BTN_RIGHT BUTTON_RIGHT
|
||||
#define BTN_UP BUTTON_UP
|
||||
#define BTN_DOWN BUTTON_DOWN
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
|
||||
#define BTN_QUIT BUTTON_POWER
|
||||
#define BTN_RIGHT BUTTON_NEXT
|
||||
#define BTN_UP BUTTON_UP
|
||||
#define BTN_DOWN BUTTON_DOWN
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
|
||||
#define BTN_QUIT BUTTON_POWER
|
||||
#define BTN_RIGHT BUTTON_NEXT
|
||||
#define BTN_UP BUTTON_UP
|
||||
#define BTN_DOWN BUTTON_DOWN
|
||||
|
||||
#elif CONFIG_KEYPAD == SAMSUNG_YH_PAD
|
||||
#define BTN_QUIT BUTTON_PLAY
|
||||
#define BTN_RIGHT BUTTON_RIGHT
|
||||
|
|
|
@ -323,6 +323,16 @@
|
|||
#define CB_LEVEL BUTTON_PLAYLIST
|
||||
#define CB_MENU BUTTON_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
|
||||
#define CB_SELECT BUTTON_PLAY
|
||||
#define CB_UP BUTTON_UP
|
||||
#define CB_DOWN BUTTON_DOWN
|
||||
#define CB_LEFT BUTTON_PREV
|
||||
#define CB_RIGHT BUTTON_NEXT
|
||||
#define CB_PLAY BUTTON_RIGHT
|
||||
#define CB_LEVEL BUTTON_LEFT
|
||||
#define CB_MENU BUTTON_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
|
||||
#define CB_SELECT BUTTON_PLAY
|
||||
#define CB_UP BUTTON_UP
|
||||
|
|
|
@ -244,6 +244,16 @@
|
|||
#define CUBE_PAUSE BUTTON_SELECT
|
||||
#define CUBE_HIGHSPEED BUTTON_VIEW
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
|
||||
#define CUBE_QUIT BUTTON_POWER
|
||||
#define CUBE_NEXT BUTTON_NEXT
|
||||
#define CUBE_PREV BUTTON_PREV
|
||||
#define CUBE_INC BUTTON_UP
|
||||
#define CUBE_DEC BUTTON_DOWN
|
||||
#define CUBE_MODE BUTTON_MENU
|
||||
#define CUBE_PAUSE BUTTON_PLAY
|
||||
#define CUBE_HIGHSPEED BUTTON_RIGHT
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
|
||||
#define CUBE_QUIT BUTTON_POWER
|
||||
#define CUBE_NEXT BUTTON_NEXT
|
||||
|
|
|
@ -163,7 +163,8 @@ const struct button_mapping pla_main_ctx[] =
|
|||
{ PLA_DOWN_REPEAT, BUTTON_VOL_DOWN|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE },
|
||||
{ PLA_RIGHT_REPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE },
|
||||
#elif (CONFIG_KEYPAD == PHILIPS_SA9200_PAD)
|
||||
#elif (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) \
|
||||
|| (CONFIG_KEYPAD == PHILIPS_SA9200_PAD)
|
||||
{ PLA_UP, BUTTON_UP, BUTTON_NONE },
|
||||
{ PLA_DOWN, BUTTON_DOWN, BUTTON_NONE },
|
||||
{ PLA_LEFT, BUTTON_PREV, BUTTON_NONE },
|
||||
|
@ -322,7 +323,8 @@ const struct button_mapping pla_main_ctx[] =
|
|||
{PLA_SELECT, BUTTON_RC_MODE, BUTTON_NONE},
|
||||
{PLA_SELECT_REL, BUTTON_RC_MODE|BUTTON_REL, BUTTON_RC_MODE},
|
||||
{PLA_SELECT_REPEAT, BUTTON_RC_MODE|BUTTON_REPEAT, BUTTON_NONE},
|
||||
#elif (CONFIG_KEYPAD == PHILIPS_SA9200_PAD)
|
||||
#elif (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) \
|
||||
|| (CONFIG_KEYPAD == PHILIPS_SA9200_PAD)
|
||||
{PLA_EXIT, BUTTON_POWER, BUTTON_NONE},
|
||||
{PLA_CANCEL, BUTTON_MENU, BUTTON_NONE},
|
||||
{PLA_SELECT, BUTTON_PLAY, BUTTON_NONE},
|
||||
|
|
|
@ -192,6 +192,17 @@
|
|||
#define PACMAN_COIN BUTTON_VIEW
|
||||
#define PACMAN_MENU BUTTON_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
|
||||
|
||||
#define PACMAN_UP BUTTON_NEXT
|
||||
#define PACMAN_DOWN BUTTON_PREV
|
||||
#define PACMAN_LEFT BUTTON_UP
|
||||
#define PACMAN_RIGHT BUTTON_DOWN
|
||||
#define PACMAN_1UP BUTTON_VOL_UP
|
||||
#define PACMAN_2UP BUTTON_DOWN
|
||||
#define PACMAN_COIN BUTTON_RIGHT
|
||||
#define PACMAN_MENU BUTTON_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
|
||||
|
||||
#define PACMAN_UP BUTTON_UP
|
||||
|
|
|
@ -139,6 +139,14 @@ char buf[255];
|
|||
#define SUPERDOM_RIGHT BUTTON_RIGHT
|
||||
#define SUPERDOM_CANCEL BUTTON_BACK
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
|
||||
#define SUPERDOM_OK BUTTON_PLAY
|
||||
#define SUPERDOM_UP BUTTON_UP
|
||||
#define SUPERDOM_DOWN BUTTON_DOWN
|
||||
#define SUPERDOM_LEFT BUTTON_PREV
|
||||
#define SUPERDOM_RIGHT BUTTON_NEXT
|
||||
#define SUPERDOM_CANCEL BUTTON_LEFT
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
|
||||
#define SUPERDOM_OK BUTTON_PLAY
|
||||
#define SUPERDOM_UP BUTTON_UP
|
||||
|
|
Loading…
Reference in a new issue