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:
parent
1251fa5766
commit
841cffab5b
33 changed files with 323 additions and 1 deletions
|
@ -390,6 +390,20 @@ enum {
|
|||
#define BJACK_RIGHT BUTTON_RIGHT
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -196,6 +196,14 @@ PLUGIN_HEADER
|
|||
#define BOUNCE_QUIT BUTTON_FFWD
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -225,6 +225,15 @@ CONFIG_KEYPAD == SANSA_M200_PAD
|
|||
#define UP BUTTON_UP
|
||||
#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
|
||||
#error No keymap defined!
|
||||
|
|
|
@ -363,6 +363,17 @@ PLUGIN_HEADER
|
|||
#define CALCULATOR_CALC BUTTON_FFWD
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -248,6 +248,16 @@ PLUGIN_HEADER
|
|||
#define CALENDAR_NEXT_MONTH BUTTON_FFWD
|
||||
#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
|
||||
#error "No keypad setting."
|
||||
#endif
|
||||
|
|
|
@ -1127,6 +1127,15 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define CHIP8_KEY5 BUTTON_PLAY
|
||||
#define CHIP8_KEY6 BUTTON_RIGHT
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -150,6 +150,12 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define ACTION BUTTON_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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -166,6 +166,16 @@ PLUGIN_HEADER
|
|||
#define CLIX_BUTTON_UP BUTTON_UP
|
||||
#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
|
||||
#error "no keymap"
|
||||
#endif
|
||||
|
|
|
@ -110,6 +110,10 @@ PLUGIN_HEADER
|
|||
#define BTN_MENU BUTTON_LEFT
|
||||
#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)
|
||||
/* This is a touchscreen target */
|
||||
#else
|
||||
|
|
|
@ -195,6 +195,13 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define RIGHT BUTTON_RIGHT
|
||||
#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
|
||||
#error INVADROX: Unsupported keypad
|
||||
#endif
|
||||
|
|
|
@ -267,6 +267,16 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define HK_SELECT "PLAY"
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -150,6 +150,12 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define MATRIX_SLEEP_LESS BUTTON_DOWN
|
||||
#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
|
||||
#error Unsupported keypad
|
||||
#endif
|
||||
|
|
|
@ -249,6 +249,16 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
# define MINESWP_DISCOVER BUTTON_REW
|
||||
# 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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -2505,6 +2505,12 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define MP3ENC_DONE BUTTON_PLAY
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -276,6 +276,17 @@ PLUGIN_HEADER
|
|||
#define OSCILLOSCOPE_VOL_UP BUTTON_UP
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -399,6 +399,25 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define LVL_DOWN_TEXT "REW"
|
||||
#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
|
||||
#error Unsupported keymap!
|
||||
#endif
|
||||
|
|
|
@ -164,6 +164,12 @@ static bool boosted = false;
|
|||
#define PLASMA_DECREASE_FREQUENCY BUTTON_DOWN
|
||||
#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
|
||||
|
||||
#ifdef HAVE_TOUCHSCREEN
|
||||
|
|
|
@ -205,6 +205,14 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define PONG_RIGHT_UP BUTTON_FFWD
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -113,6 +113,10 @@ PLUGIN_HEADER
|
|||
#define ONEDROCKBLOX_DOWN BUTTON_DOWN
|
||||
#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)
|
||||
|
||||
#define ONEDROCKBLOX_DOWN BUTTON_BOTTOMMIDDLE
|
||||
|
|
|
@ -268,6 +268,18 @@ static void setoptions (void)
|
|||
options.SELECT=BUTTON_FFWD;
|
||||
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
|
||||
#error No Keymap Defined!
|
||||
#endif
|
||||
|
|
|
@ -187,6 +187,17 @@ PLUGIN_HEADER
|
|||
#define ROCKPAINT_LEFT BUTTON_LEFT
|
||||
#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
|
||||
#error "Please define keys for this keypad"
|
||||
#endif
|
||||
|
|
|
@ -212,6 +212,15 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define PUZZLE_SHUFFLE BUTTON_REW
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -199,6 +199,14 @@ PLUGIN_HEADER
|
|||
#elif CONFIG_KEYPAD == COWON_D2_PAD
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -308,6 +308,15 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define SNAKE2_PLAYPAUSE BUTTON_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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -422,6 +422,21 @@ PLUGIN_HEADER
|
|||
#define BUTTON_SAVE BUTTON_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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -411,7 +411,7 @@ PLUGIN_HEADER
|
|||
# define HK_DRAW "MENU"
|
||||
# define HK_REM2CUR "LEFT"
|
||||
# define HK_CUR2STACK "PLAY..."
|
||||
# define REM2STACK "RIGHT"
|
||||
# define HK_REM2STACK "RIGHT"
|
||||
|
||||
#elif (CONFIG_KEYPAD == ONDAVX747_PAD) || \
|
||||
(CONFIG_KEYPAD == ONDAVX777_PAD) || \
|
||||
|
@ -439,6 +439,24 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
# define HK_CUR2STACK "REW"
|
||||
# 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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -220,6 +220,15 @@ PLUGIN_HEADER
|
|||
#define AST_RIGHT BUTTON_RIGHT
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -376,6 +376,23 @@ PLUGIN_HEADER
|
|||
#define STAR_LEVEL_DOWN_NAME "DOWN"
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -150,6 +150,14 @@ PLUGIN_HEADER
|
|||
#define STARFIELD_DECREASE_NB_STARS BUTTON_LEFT
|
||||
#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
|
||||
|
||||
#ifdef HAVE_TOUCHSCREEN
|
||||
|
|
|
@ -158,6 +158,14 @@ char buf[255];
|
|||
#define SUPERDOM_RIGHT BUTTON_RIGHT
|
||||
#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
|
||||
|
||||
#ifdef HAVE_TOUCHSCREEN
|
||||
|
|
|
@ -272,6 +272,17 @@ PLUGIN_HEADER
|
|||
#define LABEL_MENU "LEFT"
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -258,6 +258,16 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define BTN_QUIT BUTTON_FFWD
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
|
@ -223,6 +223,15 @@ CONFIG_KEYPAD == MROBE500_PAD
|
|||
#define DOWN BUTTON_DOWN
|
||||
#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
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue