diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/doom/i_video.c | 11 | ||||
-rw-r--r-- | apps/plugins/flipit.c | 12 | ||||
-rw-r--r-- | apps/plugins/goban/goban.h | 12 | ||||
-rw-r--r-- | apps/plugins/imageviewer/imageviewer.h | 12 | ||||
-rw-r--r-- | apps/plugins/logo.c | 7 | ||||
-rw-r--r-- | apps/plugins/matrix.c | 3 | ||||
-rw-r--r-- | apps/plugins/midi/midiplay.c | 8 | ||||
-rw-r--r-- | apps/plugins/minesweeper.c | 10 | ||||
-rw-r--r-- | apps/plugins/mosaique.c | 5 | ||||
-rw-r--r-- | apps/plugins/mp3_encoder.c | 6 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/mpeg_settings.c | 10 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/mpegplayer.c | 9 | ||||
-rw-r--r-- | apps/plugins/rockboy/rockboy.c | 9 | ||||
-rw-r--r-- | apps/plugins/rockpaint.c | 11 | ||||
-rw-r--r-- | apps/plugins/sliding_puzzle.c | 9 | ||||
-rw-r--r-- | apps/plugins/snow.c | 2 | ||||
-rw-r--r-- | apps/plugins/spacerocks.c | 9 | ||||
-rw-r--r-- | apps/plugins/stopwatch.c | 8 | ||||
-rw-r--r-- | apps/plugins/sudoku/sudoku.h | 10 | ||||
-rw-r--r-- | apps/plugins/text_viewer/tv_button.h | 16 | ||||
-rw-r--r-- | apps/plugins/vu_meter.c | 11 | ||||
-rw-r--r-- | apps/plugins/zxbox/keymaps.h | 9 |
22 files changed, 195 insertions, 4 deletions
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c index 63b4b18919..92ff065535 100644 --- a/apps/plugins/doom/i_video.c +++ b/apps/plugins/doom/i_video.c @@ -331,6 +331,17 @@ void I_ShutdownGraphics(void) #define DOOMBUTTON_ENTER BUTTON_VIEW #define DOOMBUTTON_WEAPON BUTTON_VOL_DOWN #define DOOMBUTTON_MAP BUTTON_VOL_UP +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define DOOMBUTTON_UP BUTTON_UP +#define DOOMBUTTON_DOWN BUTTON_DOWN +#define DOOMBUTTON_LEFT BUTTON_LEFT +#define DOOMBUTTON_RIGHT BUTTON_RIGHT +#define DOOMBUTTON_SHOOT BUTTON_NEXT +#define DOOMBUTTON_OPEN BUTTON_MENU +#define DOOMBUTTON_ESC BUTTON_POWER +#define DOOMBUTTON_ENTER BUTTON_PLAY +#define DOOMBUTTON_WEAPON BUTTON_VOL_DOWN +#define DOOMBUTTON_MAP BUTTON_VOL_UP #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define DOOMBUTTON_UP BUTTON_UP #define DOOMBUTTON_DOWN BUTTON_DOWN diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c index 897f8bd061..0e1e626d3c 100644 --- a/apps/plugins/flipit.c +++ b/apps/plugins/flipit.c @@ -276,6 +276,18 @@ #define FLIPIT_STEP_BY_STEP BUTTON_PLAYLIST #define FLIPIT_TOGGLE BUTTON_SELECT +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD + +#define FLIPIT_LEFT BUTTON_LEFT +#define FLIPIT_RIGHT BUTTON_RIGHT +#define FLIPIT_UP BUTTON_UP +#define FLIPIT_DOWN BUTTON_DOWN +#define FLIPIT_QUIT BUTTON_POWER +#define FLIPIT_SHUFFLE BUTTON_MENU +#define FLIPIT_SOLVE BUTTON_VIEW +#define FLIPIT_STEP_BY_STEP BUTTON_NEXT +#define FLIPIT_TOGGLE BUTTON_PLAY + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define FLIPIT_LEFT BUTTON_PREV diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h index fab4f1d766..d014eb2329 100644 --- a/apps/plugins/goban/goban.h +++ b/apps/plugins/goban/goban.h @@ -163,6 +163,18 @@ #define GBN_BUTTON_CONTEXT BUTTON_SELECT | BUTTON_REPEAT #define GBN_BUTTON_NEXT_VAR BUTTON_VIEW +#elif (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) +#define GBN_BUTTON_UP BUTTON_UP +#define GBN_BUTTON_DOWN BUTTON_DOWN +#define GBN_BUTTON_LEFT BUTTON_LEFT +#define GBN_BUTTON_RIGHT BUTTON_RIGHT +#define GBN_BUTTON_RETREAT BUTTON_VOL_DOWN +#define GBN_BUTTON_ADVANCE BUTTON_VOL_UP +#define GBN_BUTTON_MENU BUTTON_MENU +#define GBN_BUTTON_PLAY BUTTON_PLAY | BUTTON_REL +#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_REPEAT +#define GBN_BUTTON_NEXT_VAR BUTTON_NEXT + #elif (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) #define GBN_BUTTON_UP BUTTON_UP #define GBN_BUTTON_DOWN BUTTON_DOWN diff --git a/apps/plugins/imageviewer/imageviewer.h b/apps/plugins/imageviewer/imageviewer.h index 3e4e16a9aa..da2bbfe45c 100644 --- a/apps/plugins/imageviewer/imageviewer.h +++ b/apps/plugins/imageviewer/imageviewer.h @@ -276,6 +276,18 @@ #define IMGVIEW_MENU BUTTON_MENU #define IMGVIEW_QUIT BUTTON_POWER +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define IMGVIEW_ZOOM_IN BUTTON_VOL_UP +#define IMGVIEW_ZOOM_OUT BUTTON_VOL_DOWN +#define IMGVIEW_UP BUTTON_UP +#define IMGVIEW_DOWN BUTTON_DOWN +#define IMGVIEW_LEFT BUTTON_LEFT +#define IMGVIEW_RIGHT BUTTON_RIGHT +#define IMGVIEW_NEXT BUTTON_NEXT +#define IMGVIEW_PREVIOUS BUTTON_PREV +#define IMGVIEW_MENU BUTTON_MENU +#define IMGVIEW_QUIT BUTTON_POWER + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define IMGVIEW_ZOOM_IN BUTTON_VOL_UP #define IMGVIEW_ZOOM_OUT BUTTON_VOL_DOWN diff --git a/apps/plugins/logo.c b/apps/plugins/logo.c index aedf66dbf3..0f255fcccb 100644 --- a/apps/plugins/logo.c +++ b/apps/plugins/logo.c @@ -167,6 +167,13 @@ const unsigned char rockbox16x7[] = { #define LP_DEC_Y BUTTON_DOWN #define LP_INC_Y BUTTON_UP +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define LP_QUIT BUTTON_POWER +#define LP_DEC_X BUTTON_LEFT +#define LP_INC_X BUTTON_RIGHT +#define LP_DEC_Y BUTTON_DOWN +#define LP_INC_Y BUTTON_UP + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define LP_QUIT BUTTON_POWER #define LP_DEC_X BUTTON_PREV diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c index d3429699af..4fcf16b288 100644 --- a/apps/plugins/matrix.c +++ b/apps/plugins/matrix.c @@ -133,7 +133,8 @@ #define MATRIX_SLEEP_LESS BUTTON_DOWN #define MATRIX_PAUSE BUTTON_SELECT -#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD +#elif (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) || \ + (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) #define MATRIX_EXIT BUTTON_POWER #define MATRIX_SLEEP_MORE BUTTON_UP #define MATRIX_SLEEP_LESS BUTTON_DOWN diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c index 77743e44f4..d2b8cf818a 100644 --- a/apps/plugins/midi/midiplay.c +++ b/apps/plugins/midi/midiplay.c @@ -164,6 +164,14 @@ #define BTN_DOWN BUTTON_DOWN #define BTN_PLAY BUTTON_MENU +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define BTN_QUIT BUTTON_POWER +#define BTN_RIGHT BUTTON_RIGHT +#define BTN_LEFT BUTTON_LEFT +#define BTN_UP BUTTON_UP +#define BTN_DOWN BUTTON_DOWN +#define BTN_PLAY BUTTON_MENU + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define BTN_QUIT BUTTON_POWER #define BTN_RIGHT BUTTON_NEXT diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index 1153972ccb..bc9d102236 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c @@ -222,6 +222,16 @@ enum minesweeper_status { # define MINESWP_DISCOVER BUTTON_SELECT # define MINESWP_INFO BUTTON_MENU +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +# define MINESWP_LEFT BUTTON_LEFT +# define MINESWP_RIGHT BUTTON_RIGHT +# define MINESWP_UP BUTTON_UP +# define MINESWP_DOWN BUTTON_DOWN +# define MINESWP_QUIT BUTTON_POWER +# define MINESWP_TOGGLE BUTTON_NEXT +# define MINESWP_DISCOVER BUTTON_PLAY +# define MINESWP_INFO BUTTON_MENU + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD # define MINESWP_LEFT BUTTON_PREV # define MINESWP_RIGHT BUTTON_NEXT diff --git a/apps/plugins/mosaique.c b/apps/plugins/mosaique.c index ecdd09ac1d..eb6405b56c 100644 --- a/apps/plugins/mosaique.c +++ b/apps/plugins/mosaique.c @@ -148,6 +148,11 @@ #define MOSAIQUE_SPEED BUTTON_VIEW #define MOSAIQUE_RESTART BUTTON_MENU +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define MOSAIQUE_QUIT BUTTON_POWER +#define MOSAIQUE_SPEED BUTTON_RIGHT +#define MOSAIQUE_RESTART BUTTON_MENU + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define MOSAIQUE_QUIT BUTTON_POWER #define MOSAIQUE_SPEED BUTTON_RIGHT diff --git a/apps/plugins/mp3_encoder.c b/apps/plugins/mp3_encoder.c index caf63432f8..e39cfbb39b 100644 --- a/apps/plugins/mp3_encoder.c +++ b/apps/plugins/mp3_encoder.c @@ -2439,6 +2439,12 @@ void get_mp3_filename(const char *wav_name) #define MP3ENC_DONE BUTTON_POWER #define MP3ENC_SELECT BUTTON_SELECT +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define MP3ENC_PREV BUTTON_UP +#define MP3ENC_NEXT BUTTON_DOWN +#define MP3ENC_DONE BUTTON_POWER +#define MP3ENC_SELECT BUTTON_PLAY + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define MP3ENC_PREV BUTTON_UP #define MP3ENC_NEXT BUTTON_DOWN diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c index 53cbab32c6..2a5c4be617 100644 --- a/apps/plugins/mpegplayer/mpeg_settings.c +++ b/apps/plugins/mpegplayer/mpeg_settings.c @@ -170,6 +170,16 @@ struct mpeg_settings settings; #define MPEG_START_TIME_RIGHT2 BUTTON_VOL_DOWN #define MPEG_START_TIME_EXIT BUTTON_POWER +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define MPEG_START_TIME_SELECT BUTTON_PLAY +#define MPEG_START_TIME_LEFT BUTTON_LEFT +#define MPEG_START_TIME_RIGHT BUTTON_RIGHT +#define MPEG_START_TIME_UP BUTTON_UP +#define MPEG_START_TIME_DOWN BUTTON_DOWN +#define MPEG_START_TIME_LEFT2 BUTTON_VOL_UP +#define MPEG_START_TIME_RIGHT2 BUTTON_VOL_DOWN +#define MPEG_START_TIME_EXIT BUTTON_POWER + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define MPEG_START_TIME_SELECT BUTTON_PLAY #define MPEG_START_TIME_LEFT BUTTON_PREV diff --git a/apps/plugins/mpegplayer/mpegplayer.c b/apps/plugins/mpegplayer/mpegplayer.c index 512cc70cee..513c2f0863 100644 --- a/apps/plugins/mpegplayer/mpegplayer.c +++ b/apps/plugins/mpegplayer/mpegplayer.c @@ -282,6 +282,15 @@ CONFIG_KEYPAD == SANSA_M200_PAD #define MPEG_RW BUTTON_LEFT #define MPEG_FF BUTTON_RIGHT +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define MPEG_MENU BUTTON_MENU +#define MPEG_STOP BUTTON_POWER +#define MPEG_PAUSE BUTTON_PLAY +#define MPEG_VOLDOWN BUTTON_VOL_DOWN +#define MPEG_VOLUP BUTTON_VOL_UP +#define MPEG_RW BUTTON_PREV +#define MPEG_FF BUTTON_NEXT + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define MPEG_MENU BUTTON_MENU #define MPEG_STOP BUTTON_POWER diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c index e7d56b5755..8685218cae 100644 --- a/apps/plugins/rockboy/rockboy.c +++ b/apps/plugins/rockboy/rockboy.c @@ -237,6 +237,15 @@ static void setoptions (void) options.SELECT=BUTTON_SELECT; options.MENU=BUTTON_MENU; +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD + options.UP=BUTTON_UP; + options.DOWN=BUTTON_DOWN; + options.A=BUTTON_VOL_UP; + options.B=BUTTON_VOL_DOWN; + options.START=BUTTON_NEXT; + options.SELECT=BUTTON_PLAY; + options.MENU=BUTTON_MENU; + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD options.UP=BUTTON_UP; options.DOWN=BUTTON_DOWN; diff --git a/apps/plugins/rockpaint.c b/apps/plugins/rockpaint.c index 557c84d8ea..07351ffb44 100644 --- a/apps/plugins/rockpaint.c +++ b/apps/plugins/rockpaint.c @@ -155,6 +155,17 @@ #define ROCKPAINT_LEFT BUTTON_LEFT #define ROCKPAINT_RIGHT BUTTON_RIGHT +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define ROCKPAINT_QUIT BUTTON_POWER +#define ROCKPAINT_DRAW BUTTON_PLAY +#define ROCKPAINT_MENU BUTTON_MENU +#define ROCKPAINT_TOOLBAR BUTTON_PREV +#define ROCKPAINT_TOOLBAR2 BUTTON_NEXT +#define ROCKPAINT_UP BUTTON_UP +#define ROCKPAINT_DOWN BUTTON_DOWN +#define ROCKPAINT_LEFT BUTTON_LEFT +#define ROCKPAINT_RIGHT BUTTON_RIGHT + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define ROCKPAINT_QUIT BUTTON_POWER #define ROCKPAINT_DRAW BUTTON_PLAY diff --git a/apps/plugins/sliding_puzzle.c b/apps/plugins/sliding_puzzle.c index 0f51c4d849..f265dd2d6a 100644 --- a/apps/plugins/sliding_puzzle.c +++ b/apps/plugins/sliding_puzzle.c @@ -185,6 +185,15 @@ #define PUZZLE_SHUFFLE BUTTON_VIEW #define PUZZLE_PICTURE BUTTON_MENU +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define PUZZLE_QUIT BUTTON_POWER +#define PUZZLE_LEFT BUTTON_LEFT +#define PUZZLE_RIGHT BUTTON_RIGHT +#define PUZZLE_UP BUTTON_UP +#define PUZZLE_DOWN BUTTON_DOWN +#define PUZZLE_SHUFFLE BUTTON_NEXT +#define PUZZLE_PICTURE BUTTON_MENU + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define PUZZLE_QUIT BUTTON_POWER #define PUZZLE_LEFT BUTTON_PREV diff --git a/apps/plugins/snow.c b/apps/plugins/snow.c index c9abae4b97..ab27950750 100644 --- a/apps/plugins/snow.c +++ b/apps/plugins/snow.c @@ -56,7 +56,6 @@ (CONFIG_KEYPAD == MROBE100_PAD) || \ (CONFIG_KEYPAD == COWON_D2_PAD) || \ (CONFIG_KEYPAD == IAUDIO67_PAD) || \ -(CONFIG_KEYPAD == PHILIPS_HDD1630_PAD) || \ (CONFIG_KEYPAD == ONDAVX747_PAD) || \ (CONFIG_KEYPAD == ONDAVX777_PAD) || \ (CONFIG_KEYPAD == GIGABEAT_PAD) || \ @@ -71,6 +70,7 @@ #define SNOW_QUIT BUTTON_BACK #elif (CONFIG_KEYPAD == PHILIPS_HDD1630_PAD) || \ +(CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) || \ (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) #define SNOW_QUIT BUTTON_POWER diff --git a/apps/plugins/spacerocks.c b/apps/plugins/spacerocks.c index 1fd407357e..d04205cb05 100644 --- a/apps/plugins/spacerocks.c +++ b/apps/plugins/spacerocks.c @@ -197,6 +197,15 @@ #define AST_RIGHT BUTTON_RIGHT #define AST_FIRE BUTTON_PLAYLIST +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define AST_PAUSE BUTTON_PLAY +#define AST_QUIT BUTTON_POWER +#define AST_THRUST BUTTON_UP +#define AST_HYPERSPACE BUTTON_DOWN +#define AST_LEFT BUTTON_LEFT +#define AST_RIGHT BUTTON_RIGHT +#define AST_FIRE BUTTON_VOL_DOWN + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define AST_PAUSE BUTTON_RIGHT #define AST_QUIT BUTTON_POWER diff --git a/apps/plugins/stopwatch.c b/apps/plugins/stopwatch.c index 1a2965fa89..475b4de5b9 100644 --- a/apps/plugins/stopwatch.c +++ b/apps/plugins/stopwatch.c @@ -194,6 +194,14 @@ #define STOPWATCH_SCROLL_UP BUTTON_UP #define STOPWATCH_SCROLL_DOWN BUTTON_DOWN +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define STOPWATCH_QUIT BUTTON_POWER +#define STOPWATCH_START_STOP BUTTON_PLAY +#define STOPWATCH_RESET_TIMER BUTTON_MENU +#define STOPWATCH_LAP_TIMER BUTTON_NEXT +#define STOPWATCH_SCROLL_UP BUTTON_UP +#define STOPWATCH_SCROLL_DOWN BUTTON_DOWN + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define STOPWATCH_QUIT BUTTON_POWER #define STOPWATCH_START_STOP BUTTON_PLAY diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h index c2ef1d6693..c7048d8f99 100644 --- a/apps/plugins/sudoku/sudoku.h +++ b/apps/plugins/sudoku/sudoku.h @@ -244,6 +244,16 @@ #define SUDOKU_BUTTON_MENU BUTTON_MENU #define SUDOKU_BUTTON_POSSIBLE BUTTON_VIEW +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define SUDOKU_BUTTON_QUIT BUTTON_POWER +#define SUDOKU_BUTTON_UP BUTTON_UP +#define SUDOKU_BUTTON_DOWN BUTTON_DOWN +#define SUDOKU_BUTTON_LEFT BUTTON_LEFT +#define SUDOKU_BUTTON_RIGHT BUTTON_RIGHT +#define SUDOKU_BUTTON_TOGGLE BUTTON_PLAY +#define SUDOKU_BUTTON_MENU BUTTON_MENU +#define SUDOKU_BUTTON_POSSIBLE BUTTON_NEXT + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define SUDOKU_BUTTON_QUIT BUTTON_POWER #define SUDOKU_BUTTON_UP BUTTON_UP diff --git a/apps/plugins/text_viewer/tv_button.h b/apps/plugins/text_viewer/tv_button.h index f0daa06d80..6157d5fe9e 100644 --- a/apps/plugins/text_viewer/tv_button.h +++ b/apps/plugins/text_viewer/tv_button.h @@ -139,7 +139,7 @@ #define TV_AUTOSCROLL BUTTON_SELECT #define TV_BOOKMARK (BUTTON_LEFT|BUTTON_SELECT) -/* iAudio X5 keys */ +/* iAudio X5/M5 keys */ #elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD #define TV_QUIT BUTTON_POWER #define TV_SCROLL_UP BUTTON_UP @@ -150,7 +150,7 @@ #define TV_AUTOSCROLL BUTTON_PLAY #define TV_BOOKMARK BUTTON_REC -/* GIGABEAT keys */ +/* Gigabeat F/X keys */ #elif CONFIG_KEYPAD == GIGABEAT_PAD #define TV_QUIT BUTTON_POWER #define TV_SCROLL_UP BUTTON_UP @@ -300,6 +300,7 @@ #define TV_SCROLL_DOWN BUTTON_PLUS #define TV_BOOKMARK (BUTTON_MENU|BUTTON_PLUS) +/* Cowon iAudio 7 keys */ #elif CONFIG_KEYPAD == IAUDIO67_PAD #define TV_QUIT BUTTON_POWER #define TV_SCROLL_UP BUTTON_VOLUP @@ -333,6 +334,17 @@ #define TV_AUTOSCROLL BUTTON_VIEW #define TV_BOOKMARK BUTTON_SELECT +/* Philips HDD6330 keys */ +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define TV_QUIT BUTTON_POWER +#define TV_SCROLL_UP BUTTON_UP +#define TV_SCROLL_DOWN BUTTON_DOWN +#define TV_SCREEN_LEFT BUTTON_LEFT +#define TV_SCREEN_RIGHT BUTTON_RIGHT +#define TV_MENU BUTTON_MENU +#define TV_AUTOSCROLL BUTTON_NEXT +#define TV_BOOKMARK BUTTON_PLAY + /* Philips SA9200 keys */ #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define TV_QUIT BUTTON_POWER diff --git a/apps/plugins/vu_meter.c b/apps/plugins/vu_meter.c index 4da4011181..08c88169be 100644 --- a/apps/plugins/vu_meter.c +++ b/apps/plugins/vu_meter.c @@ -236,6 +236,17 @@ #define LABEL_MENU "MENU" #define LABEL_VOLUME "UP/DOWN" +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD +#define VUMETER_QUIT BUTTON_POWER +#define VUMETER_HELP BUTTON_NEXT +#define VUMETER_MENU BUTTON_MENU +#define VUMETER_UP BUTTON_UP +#define VUMETER_DOWN BUTTON_DOWN +#define LABEL_HELP "NEXT" +#define LABEL_QUIT "QUIT" +#define LABEL_MENU "MENU" +#define LABEL_VOLUME "UP/DOWN" + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define VUMETER_QUIT BUTTON_POWER #define VUMETER_HELP BUTTON_RIGHT diff --git a/apps/plugins/zxbox/keymaps.h b/apps/plugins/zxbox/keymaps.h index 631350a9ae..f73ff16486 100644 --- a/apps/plugins/zxbox/keymaps.h +++ b/apps/plugins/zxbox/keymaps.h @@ -157,6 +157,15 @@ #define ZX_SELECT BUTTON_SELECT #define ZX_MENU BUTTON_MENU +#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD + +#define ZX_UP BUTTON_UP +#define ZX_DOWN BUTTON_DOWN +#define ZX_LEFT BUTTON_LEFT +#define ZX_RIGHT BUTTON_RIGHT +#define ZX_SELECT BUTTON_PLAY +#define ZX_MENU BUTTON_MENU + #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD #define ZX_UP BUTTON_UP #define ZX_DOWN BUTTON_DOWN |