Packard Bell Vibe 500: More plugin keymaps (second portion).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24634 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Szymon Dziok 2010-02-13 15:46:34 +00:00
parent 1251fa5766
commit 841cffab5b
33 changed files with 323 additions and 1 deletions

View file

@ -390,6 +390,20 @@ enum {
#define BJACK_RIGHT BUTTON_RIGHT #define BJACK_RIGHT BUTTON_RIGHT
#define BJACK_LEFT BUTTON_LEFT #define BJACK_LEFT BUTTON_LEFT
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define BJACK_SELECT_NAME "OK"
#define BJACK_STAY_NAME "CANCEL"
#define BJACK_QUIT_NAME "REC"
#define BJACK_DOUBLE_NAME "MENU"
#define BJACK_SELECT BUTTON_OK
#define BJACK_QUIT BUTTON_REC
#define BJACK_STAY BUTTON_CANCEL
#define BJACK_DOUBLEDOWN BUTTON_MENU
#define BJACK_UP BUTTON_UP
#define BJACK_DOWN BUTTON_DOWN
#define BJACK_RIGHT BUTTON_NEXT
#define BJACK_LEFT BUTTON_PREV
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -196,6 +196,14 @@ PLUGIN_HEADER
#define BOUNCE_QUIT BUTTON_FFWD #define BOUNCE_QUIT BUTTON_FFWD
#define BOUNCE_MODE BUTTON_PLAY #define BOUNCE_MODE BUTTON_PLAY
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define BOUNCE_LEFT BUTTON_PREV
#define BOUNCE_RIGHT BUTTON_NEXT
#define BOUNCE_UP BUTTON_UP
#define BOUNCE_DOWN BUTTON_DOWN
#define BOUNCE_QUIT BUTTON_REC
#define BOUNCE_MODE BUTTON_MENU
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -225,6 +225,15 @@ CONFIG_KEYPAD == SANSA_M200_PAD
#define UP BUTTON_UP #define UP BUTTON_UP
#define DOWN BUTTON_DOWN #define DOWN BUTTON_DOWN
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define QUIT BUTTON_REC
#define LEFT BUTTON_PREV
#define RIGHT BUTTON_NEXT
#define ALTLEFT BUTTON_MENU
#define ALTRIGHT BUTTON_PLAY
#define SELECT BUTTON_OK
#define UP BUTTON_UP
#define DOWN BUTTON_DOWN
#else #else
#error No keymap defined! #error No keymap defined!

View file

@ -363,6 +363,17 @@ PLUGIN_HEADER
#define CALCULATOR_CALC BUTTON_FFWD #define CALCULATOR_CALC BUTTON_FFWD
#define CALCULATOR_CLEAR BUTTON_REW #define CALCULATOR_CLEAR BUTTON_REW
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define CALCULATOR_LEFT BUTTON_PREV
#define CALCULATOR_RIGHT BUTTON_NEXT
#define CALCULATOR_UP BUTTON_UP
#define CALCULATOR_DOWN BUTTON_DOWN
#define CALCULATOR_QUIT BUTTON_REC
#define CALCULATOR_INPUT BUTTON_OK
#define CALCULATOR_CALC BUTTON_PLAY
#define CALCULATOR_CLEAR BUTTON_CANCEL
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -248,6 +248,16 @@ PLUGIN_HEADER
#define CALENDAR_NEXT_MONTH BUTTON_FFWD #define CALENDAR_NEXT_MONTH BUTTON_FFWD
#define CALENDAR_PREV_MONTH BUTTON_REW #define CALENDAR_PREV_MONTH BUTTON_REW
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define CALENDAR_QUIT BUTTON_REC
#define CALENDAR_SELECT BUTTON_OK
#define CALENDAR_NEXT_WEEK BUTTON_DOWN
#define CALENDAR_PREV_WEEK BUTTON_UP
#define CALENDAR_NEXT_DAY BUTTON_NEXT
#define CALENDAR_PREV_DAY BUTTON_PREV
#define CALENDAR_NEXT_MONTH BUTTON_PLAY
#define CALENDAR_PREV_MONTH BUTTON_MENU
#else #else
#error "No keypad setting." #error "No keypad setting."
#endif #endif

View file

@ -1127,6 +1127,15 @@ CONFIG_KEYPAD == MROBE500_PAD
#define CHIP8_KEY5 BUTTON_PLAY #define CHIP8_KEY5 BUTTON_PLAY
#define CHIP8_KEY6 BUTTON_RIGHT #define CHIP8_KEY6 BUTTON_RIGHT
#define CHIP8_KEY8 BUTTON_DOWN #define CHIP8_KEY8 BUTTON_DOWN
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define CHIP8_OFF BUTTON_REC
#define CHIP8_KEY2 BUTTON_UP
#define CHIP8_KEY4 BUTTON_PREV
#define CHIP8_KEY5 BUTTON_OK
#define CHIP8_KEY6 BUTTON_NEXT
#define CHIP8_KEY8 BUTTON_DOWN
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -150,6 +150,12 @@ CONFIG_KEYPAD == MROBE500_PAD
#define ACTION BUTTON_RIGHT #define ACTION BUTTON_RIGHT
#define ACTIONTEXT "RIGHT" #define ACTIONTEXT "RIGHT"
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define QUIT BUTTON_REC
#define ACTION BUTTON_PLAY
#define ACTION2 BUTTON_UP
#define ACTIONTEXT "PLAY"
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -166,6 +166,16 @@ PLUGIN_HEADER
#define CLIX_BUTTON_UP BUTTON_UP #define CLIX_BUTTON_UP BUTTON_UP
#define CLIX_BUTTON_DOWN BUTTON_DOWN #define CLIX_BUTTON_DOWN BUTTON_DOWN
#elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD)
#define CLIX_BUTTON_QUIT BUTTON_REC
#define CLIX_BUTTON_UP BUTTON_UP
#define CLIX_BUTTON_DOWN BUTTON_DOWN
#define CLIX_BUTTON_SCROLL_FWD BUTTON_PLAY
#define CLIX_BUTTON_SCROLL_BACK BUTTON_MENU
#define CLIX_BUTTON_LEFT BUTTON_PREV
#define CLIX_BUTTON_RIGHT BUTTON_NEXT
#define CLIX_BUTTON_CLICK BUTTON_OK
#else #else
#error "no keymap" #error "no keymap"
#endif #endif

View file

@ -110,6 +110,10 @@ PLUGIN_HEADER
#define BTN_MENU BUTTON_LEFT #define BTN_MENU BUTTON_LEFT
#define BTN_FIRE BUTTON_PLAY #define BTN_FIRE BUTTON_PLAY
#elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD)
#define BTN_MENU BUTTON_MENU
#define BTN_FIRE BUTTON_OK
#elif defined(HAVE_TOUCHSCREEN) #elif defined(HAVE_TOUCHSCREEN)
/* This is a touchscreen target */ /* This is a touchscreen target */
#else #else

View file

@ -195,6 +195,13 @@ CONFIG_KEYPAD == MROBE500_PAD
#define RIGHT BUTTON_RIGHT #define RIGHT BUTTON_RIGHT
#define FIRE BUTTON_PLAY #define FIRE BUTTON_PLAY
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define QUIT BUTTON_REC
#define LEFT BUTTON_PREV
#define RIGHT BUTTON_NEXT
#define FIRE BUTTON_OK
#else #else
#error INVADROX: Unsupported keypad #error INVADROX: Unsupported keypad
#endif #endif

View file

@ -267,6 +267,16 @@ CONFIG_KEYPAD == MROBE500_PAD
#define HK_SELECT "PLAY" #define HK_SELECT "PLAY"
#define HK_CANCEL "REWIND" #define HK_CANCEL "REWIND"
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define JEWELS_UP BUTTON_UP
#define JEWELS_DOWN BUTTON_DOWN
#define JEWELS_LEFT BUTTON_PREV
#define JEWELS_RIGHT BUTTON_NEXT
#define JEWELS_SELECT BUTTON_OK
#define JEWELS_CANCEL BUTTON_REC
#define HK_SELECT "OK"
#define HK_CANCEL "REC"
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -150,6 +150,12 @@ CONFIG_KEYPAD == MROBE500_PAD
#define MATRIX_SLEEP_LESS BUTTON_DOWN #define MATRIX_SLEEP_LESS BUTTON_DOWN
#define MATRIX_PAUSE BUTTON_PLAY #define MATRIX_PAUSE BUTTON_PLAY
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define MATRIX_EXIT BUTTON_REC
#define MATRIX_SLEEP_MORE BUTTON_PREV
#define MATRIX_SLEEP_LESS BUTTON_NEXT
#define MATRIX_PAUSE BUTTON_PLAY
#else #else
#error Unsupported keypad #error Unsupported keypad
#endif #endif

View file

@ -249,6 +249,16 @@ CONFIG_KEYPAD == MROBE500_PAD
# define MINESWP_DISCOVER BUTTON_REW # define MINESWP_DISCOVER BUTTON_REW
# define MINESWP_INFO BUTTON_FFWD # define MINESWP_INFO BUTTON_FFWD
#elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD)
# define MINESWP_LEFT BUTTON_PREV
# define MINESWP_RIGHT BUTTON_NEXT
# define MINESWP_UP BUTTON_UP
# define MINESWP_DOWN BUTTON_DOWN
# define MINESWP_QUIT BUTTON_REC
# define MINESWP_TOGGLE BUTTON_PLAY
# define MINESWP_DISCOVER BUTTON_OK
# define MINESWP_INFO BUTTON_MENU
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -2505,6 +2505,12 @@ CONFIG_KEYPAD == MROBE500_PAD
#define MP3ENC_DONE BUTTON_PLAY #define MP3ENC_DONE BUTTON_PLAY
#define MP3ENC_SELECT BUTTON_RIGHT #define MP3ENC_SELECT BUTTON_RIGHT
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define MP3ENC_PREV BUTTON_UP
#define MP3ENC_NEXT BUTTON_DOWN
#define MP3ENC_DONE BUTTON_REC
#define MP3ENC_SELECT BUTTON_OK
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -276,6 +276,17 @@ PLUGIN_HEADER
#define OSCILLOSCOPE_VOL_UP BUTTON_UP #define OSCILLOSCOPE_VOL_UP BUTTON_UP
#define OSCILLOSCOPE_VOL_DOWN BUTTON_DOWN #define OSCILLOSCOPE_VOL_DOWN BUTTON_DOWN
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define OSCILLOSCOPE_QUIT BUTTON_REC
#define OSCILLOSCOPE_DRAWMODE BUTTON_MENU
#define OSCILLOSCOPE_ADVMODE BUTTON_CANCEL
#define OSCILLOSCOPE_ORIENTATION BUTTON_OK
#define OSCILLOSCOPE_PAUSE BUTTON_PLAY
#define OSCILLOSCOPE_SPEED_UP BUTTON_PREV
#define OSCILLOSCOPE_SPEED_DOWN BUTTON_NEXT
#define OSCILLOSCOPE_VOL_UP BUTTON_UP
#define OSCILLOSCOPE_VOL_DOWN BUTTON_DOWN
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -399,6 +399,25 @@ CONFIG_KEYPAD == MROBE500_PAD
#define LVL_DOWN_TEXT "REW" #define LVL_DOWN_TEXT "REW"
#define SELECT_TEXT "PLAY" #define SELECT_TEXT "PLAY"
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define PEGBOX_SAVE (BUTTON_REC|BUTTON_OK)
#define PEGBOX_QUIT BUTTON_REC
#define PEGBOX_RESTART BUTTON_MENU
#define PEGBOX_LVL_UP BUTTON_OK
#define PEGBOX_LVL_DOWN BUTTON_CANCEL
#define PEGBOX_UP BUTTON_UP
#define PEGBOX_DOWN BUTTON_DOWN
#define PEGBOX_RIGHT BUTTON_NEXT
#define PEGBOX_LEFT BUTTON_PREV
#define PEGBOX_SELECT BUTTON_PLAY
#define SAVE_TEXT "REC + OK"
#define QUIT_TEXT "REC"
#define RESTART_TEXT "MENU"
#define LVL_UP_TEXT "OK"
#define LVL_DOWN_TEXT "CANCEL"
#define SELECT_TEXT "PLAY"
#else #else
#error Unsupported keymap! #error Unsupported keymap!
#endif #endif

View file

@ -164,6 +164,12 @@ static bool boosted = false;
#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN #define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
#define PLASMA_REGEN_COLORS BUTTON_LEFT #define PLASMA_REGEN_COLORS BUTTON_LEFT
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define PLASMA_QUIT BUTTON_REC
#define PLASMA_INCREASE_FREQUENCY BUTTON_UP
#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
#define PLASMA_REGEN_COLORS BUTTON_PLAY
#endif #endif
#ifdef HAVE_TOUCHSCREEN #ifdef HAVE_TOUCHSCREEN

View file

@ -205,6 +205,14 @@ CONFIG_KEYPAD == MROBE500_PAD
#define PONG_RIGHT_UP BUTTON_FFWD #define PONG_RIGHT_UP BUTTON_FFWD
#define PONG_RIGHT_DOWN BUTTON_REW #define PONG_RIGHT_DOWN BUTTON_REW
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define PONG_QUIT BUTTON_REC
#define PONG_PAUSE BUTTON_OK
#define PONG_LEFT_UP BUTTON_MENU
#define PONG_LEFT_DOWN BUTTON_PREV
#define PONG_RIGHT_UP BUTTON_PLAY
#define PONG_RIGHT_DOWN BUTTON_NEXT
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -113,6 +113,10 @@ PLUGIN_HEADER
#define ONEDROCKBLOX_DOWN BUTTON_DOWN #define ONEDROCKBLOX_DOWN BUTTON_DOWN
#define ONEDROCKBLOX_QUIT BUTTON_PLAY #define ONEDROCKBLOX_QUIT BUTTON_PLAY
#elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD)
#define ONEDROCKBLOX_DOWN BUTTON_DOWN
#define ONEDROCKBLOX_QUIT BUTTON_REC
#elif defined(HAVE_TOUCHSCREEN) #elif defined(HAVE_TOUCHSCREEN)
#define ONEDROCKBLOX_DOWN BUTTON_BOTTOMMIDDLE #define ONEDROCKBLOX_DOWN BUTTON_BOTTOMMIDDLE

View file

@ -268,6 +268,18 @@ static void setoptions (void)
options.SELECT=BUTTON_FFWD; options.SELECT=BUTTON_FFWD;
options.MENU=BUTTON_NONE; options.MENU=BUTTON_NONE;
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
options.UP= BUTTON_OK;
options.DOWN= BUTTON_CANCEL;
options.LEFT= BUTTON_PREV;
options.RIGHT= BUTTON_NEXT;
options.A= BUTTON_POWER;
options.B= BUTTON_REC;
options.START= BUTTON_PLAY;
options.SELECT= BUTTON_UP;
options.MENU= BUTTON_MENU;
#else #else
#error No Keymap Defined! #error No Keymap Defined!
#endif #endif

View file

@ -187,6 +187,17 @@ PLUGIN_HEADER
#define ROCKPAINT_LEFT BUTTON_LEFT #define ROCKPAINT_LEFT BUTTON_LEFT
#define ROCKPAINT_RIGHT BUTTON_RIGHT #define ROCKPAINT_RIGHT BUTTON_RIGHT
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define ROCKPAINT_QUIT BUTTON_REC
#define ROCKPAINT_DRAW BUTTON_PLAY
#define ROCKPAINT_MENU BUTTON_MENU
#define ROCKPAINT_TOOLBAR BUTTON_OK
#define ROCKPAINT_TOOLBAR2 BUTTON_CANCEL
#define ROCKPAINT_UP BUTTON_UP
#define ROCKPAINT_DOWN BUTTON_DOWN
#define ROCKPAINT_LEFT BUTTON_PREV
#define ROCKPAINT_RIGHT BUTTON_NEXT
#else #else
#error "Please define keys for this keypad" #error "Please define keys for this keypad"
#endif #endif

View file

@ -212,6 +212,15 @@ CONFIG_KEYPAD == MROBE500_PAD
#define PUZZLE_SHUFFLE BUTTON_REW #define PUZZLE_SHUFFLE BUTTON_REW
#define PUZZLE_PICTURE BUTTON_PLAY #define PUZZLE_PICTURE BUTTON_PLAY
#elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD)
#define PUZZLE_QUIT BUTTON_REC
#define PUZZLE_LEFT BUTTON_PREV
#define PUZZLE_RIGHT BUTTON_NEXT
#define PUZZLE_UP BUTTON_UP
#define PUZZLE_DOWN BUTTON_DOWN
#define PUZZLE_SHUFFLE BUTTON_CANCEL
#define PUZZLE_PICTURE BUTTON_MENU
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -199,6 +199,14 @@ PLUGIN_HEADER
#elif CONFIG_KEYPAD == COWON_D2_PAD #elif CONFIG_KEYPAD == COWON_D2_PAD
#define SNAKE_QUIT BUTTON_POWER #define SNAKE_QUIT BUTTON_POWER
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define SNAKE_QUIT BUTTON_REC
#define SNAKE_LEFT BUTTON_PREV
#define SNAKE_RIGHT BUTTON_NEXT
#define SNAKE_UP BUTTON_UP
#define SNAKE_DOWN BUTTON_DOWN
#define SNAKE_PLAYPAUSE BUTTON_PLAY
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -308,6 +308,15 @@ CONFIG_KEYPAD == MROBE500_PAD
#define SNAKE2_PLAYPAUSE BUTTON_PLAY #define SNAKE2_PLAYPAUSE BUTTON_PLAY
#define SNAKE2_PLAYPAUSE_TEXT "Play" #define SNAKE2_PLAYPAUSE_TEXT "Play"
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define SNAKE2_LEFT BUTTON_PREV
#define SNAKE2_RIGHT BUTTON_NEXT
#define SNAKE2_UP BUTTON_UP
#define SNAKE2_DOWN BUTTON_DOWN
#define SNAKE2_QUIT BUTTON_REC
#define SNAKE2_PLAYPAUSE BUTTON_PLAY
#define SNAKE2_PLAYPAUSE_TEXT "Play"
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -422,6 +422,21 @@ PLUGIN_HEADER
#define BUTTON_SAVE BUTTON_PLAY #define BUTTON_SAVE BUTTON_PLAY
#define BUTTON_SAVE_NAME "PLAY" #define BUTTON_SAVE_NAME "PLAY"
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define SOKOBAN_LEFT BUTTON_PREV
#define SOKOBAN_RIGHT BUTTON_NEXT
#define SOKOBAN_UP BUTTON_UP
#define SOKOBAN_DOWN BUTTON_DOWN
#define SOKOBAN_MENU BUTTON_REC
#define SOKOBAN_UNDO BUTTON_CANCEL
#define SOKOBAN_REDO BUTTON_OK
#define SOKOBAN_LEVEL_DOWN (BUTTON_OK | BUTTON_PREV)
#define SOKOBAN_LEVEL_REPEAT (BUTTON_OK | BUTTON_CANCEL)
#define SOKOBAN_LEVEL_UP (BUTTON_OK | BUTTON_NEXT)
#define SOKOBAN_PAUSE BUTTON_PLAY
#define BUTTON_SAVE BUTTON_MENU
#define BUTTON_SAVE_NAME "MENU"
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -411,7 +411,7 @@ PLUGIN_HEADER
# define HK_DRAW "MENU" # define HK_DRAW "MENU"
# define HK_REM2CUR "LEFT" # define HK_REM2CUR "LEFT"
# define HK_CUR2STACK "PLAY..." # define HK_CUR2STACK "PLAY..."
# define REM2STACK "RIGHT" # define HK_REM2STACK "RIGHT"
#elif (CONFIG_KEYPAD == ONDAVX747_PAD) || \ #elif (CONFIG_KEYPAD == ONDAVX747_PAD) || \
(CONFIG_KEYPAD == ONDAVX777_PAD) || \ (CONFIG_KEYPAD == ONDAVX777_PAD) || \
@ -439,6 +439,24 @@ CONFIG_KEYPAD == MROBE500_PAD
# define HK_CUR2STACK "REW" # define HK_CUR2STACK "REW"
# define HK_REM2STACK "FFWD.." # define HK_REM2STACK "FFWD.."
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
# define SOL_QUIT BUTTON_REC
# define SOL_UP BUTTON_UP
# define SOL_DOWN BUTTON_DOWN
# define SOL_LEFT BUTTON_PREV
# define SOL_RIGHT BUTTON_NEXT
# define SOL_MOVE_PRE BUTTON_OK
# define SOL_MOVE (BUTTON_OK | BUTTON_REL)
# define SOL_DRAW BUTTON_MENU
# define SOL_REM2CUR BUTTON_CANCEL
# define SOL_CUR2STACK BUTTON_PLAY
# define SOL_REM2STACK (BUTTON_PLAY | BUTTON_REPEAT)
# define HK_MOVE "OK"
# define HK_DRAW "MENU"
# define HK_REM2CUR "CANCEL"
# define HK_CUR2STACK "PLAY"
# define HK_REM2STACK "PLAY..."
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -220,6 +220,15 @@ PLUGIN_HEADER
#define AST_RIGHT BUTTON_RIGHT #define AST_RIGHT BUTTON_RIGHT
#define AST_FIRE BUTTON_PLAY #define AST_FIRE BUTTON_PLAY
#elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD)
#define AST_PAUSE BUTTON_PLAY
#define AST_QUIT BUTTON_REC
#define AST_THRUST BUTTON_UP
#define AST_HYPERSPACE BUTTON_DOWN
#define AST_LEFT BUTTON_PREV
#define AST_RIGHT BUTTON_NEXT
#define AST_FIRE BUTTON_OK
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -376,6 +376,23 @@ PLUGIN_HEADER
#define STAR_LEVEL_DOWN_NAME "DOWN" #define STAR_LEVEL_DOWN_NAME "DOWN"
#define STAR_LEVEL_REPEAT_NAME "PLAY" #define STAR_LEVEL_REPEAT_NAME "PLAY"
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define STAR_QUIT BUTTON_REC
#define STAR_LEFT BUTTON_PREV
#define STAR_RIGHT BUTTON_NEXT
#define STAR_UP BUTTON_UP
#define STAR_DOWN BUTTON_DOWN
#define STAR_TOGGLE_CONTROL BUTTON_PLAY
#define STAR_LEVEL_UP BUTTON_OK
#define STAR_LEVEL_DOWN BUTTON_CANCEL
#define STAR_LEVEL_REPEAT BUTTON_MENU
#define STAR_TOGGLE_CONTROL_NAME "PLAY"
#define STAR_QUIT_NAME "REC"
#define STAR_LEVEL_UP_NAME "OK"
#define STAR_LEVEL_DOWN_NAME "CANCEL"
#define STAR_LEVEL_REPEAT_NAME "MENU"
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -150,6 +150,14 @@ PLUGIN_HEADER
#define STARFIELD_DECREASE_NB_STARS BUTTON_LEFT #define STARFIELD_DECREASE_NB_STARS BUTTON_LEFT
#define STARFIELD_TOGGLE_COLOR BUTTON_PLAY #define STARFIELD_TOGGLE_COLOR BUTTON_PLAY
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define STARFIELD_QUIT BUTTON_REC
#define STARFIELD_INCREASE_ZMOVE BUTTON_UP
#define STARFIELD_DECREASE_ZMOVE BUTTON_DOWN
#define STARFIELD_INCREASE_NB_STARS BUTTON_NEXT
#define STARFIELD_DECREASE_NB_STARS BUTTON_PREV
#define STARFIELD_TOGGLE_COLOR BUTTON_PLAY
#endif #endif
#ifdef HAVE_TOUCHSCREEN #ifdef HAVE_TOUCHSCREEN

View file

@ -158,6 +158,14 @@ char buf[255];
#define SUPERDOM_RIGHT BUTTON_RIGHT #define SUPERDOM_RIGHT BUTTON_RIGHT
#define SUPERDOM_CANCEL BUTTON_REW #define SUPERDOM_CANCEL BUTTON_REW
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define SUPERDOM_OK BUTTON_OK
#define SUPERDOM_UP BUTTON_UP
#define SUPERDOM_DOWN BUTTON_DOWN
#define SUPERDOM_LEFT BUTTON_PREV
#define SUPERDOM_RIGHT BUTTON_NEXT
#define SUPERDOM_CANCEL BUTTON_CANCEL
#endif #endif
#ifdef HAVE_TOUCHSCREEN #ifdef HAVE_TOUCHSCREEN

View file

@ -272,6 +272,17 @@ PLUGIN_HEADER
#define LABEL_MENU "LEFT" #define LABEL_MENU "LEFT"
#define LABEL_VOLUME "UP/DOWN" #define LABEL_VOLUME "UP/DOWN"
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define VUMETER_QUIT BUTTON_REC
#define VUMETER_HELP BUTTON_PLAY
#define VUMETER_MENU BUTTON_MENU
#define VUMETER_UP BUTTON_UP
#define VUMETER_DOWN BUTTON_DOWN
#define LABEL_HELP "PLAY"
#define LABEL_QUIT "REC"
#define LABEL_MENU "MENU"
#define LABEL_VOLUME "UP/DOWN"
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -258,6 +258,16 @@ CONFIG_KEYPAD == MROBE500_PAD
#define BTN_QUIT BUTTON_FFWD #define BTN_QUIT BUTTON_FFWD
#define BTN_STOPRESET BUTTON_REW #define BTN_STOPRESET BUTTON_REW
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define BTN_DIR_UP BUTTON_UP
#define BTN_DIR_DOWN BUTTON_DOWN
#define BTN_DIR_LEFT BUTTON_PREV
#define BTN_DIR_RIGHT BUTTON_NEXT
#define BTN_STARTPAUSE BUTTON_PLAY
#define BTN_QUIT BUTTON_REC
#define BTN_STOPRESET BUTTON_CANCEL
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif

View file

@ -223,6 +223,15 @@ CONFIG_KEYPAD == MROBE500_PAD
#define DOWN BUTTON_DOWN #define DOWN BUTTON_DOWN
#define PAUSE BUTTON_FFWD #define PAUSE BUTTON_FFWD
#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
#define QUIT BUTTON_REC
#define LEFT BUTTON_PREV
#define RIGHT BUTTON_NEXT
#define UP BUTTON_UP
#define DOWN BUTTON_DOWN
#define PAUSE BUTTON_PLAY
#else #else
#error No keymap defined! #error No keymap defined!
#endif #endif