diff options
| author | Marcoen Hirschberg <marcoen@gmail.com> | 2006-02-24 15:42:52 +0000 |
|---|---|---|
| committer | Marcoen Hirschberg <marcoen@gmail.com> | 2006-02-24 15:42:52 +0000 |
| commit | 338e2bbb0c6673452c64378ef9e609d5c19c7558 (patch) | |
| tree | 7314096e43a7eedfd7091c39fed97c0c33400827 /apps/plugins/solitaire.c | |
| parent | b902428180c11def61f2d3caa2612b9f80d7d41a (diff) | |
| download | rockbox-338e2bbb0c6673452c64378ef9e609d5c19c7558.zip rockbox-338e2bbb0c6673452c64378ef9e609d5c19c7558.tar.gz rockbox-338e2bbb0c6673452c64378ef9e609d5c19c7558.tar.bz2 rockbox-338e2bbb0c6673452c64378ef9e609d5c19c7558.tar.xz | |
first gigabeat commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/solitaire.c')
| -rw-r--r-- | apps/plugins/solitaire.c | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c index cf6c6cb..2662966 100644 --- a/apps/plugins/solitaire.c +++ b/apps/plugins/solitaire.c @@ -136,7 +136,22 @@ static struct plugin_api* rb; #define SOL_REM2STACK (BUTTON_REC | BUTTON_DOWN) #define SOL_MENU_RUN BUTTON_SELECT #define SOL_MENU_INFO BUTTON_PLAY - + +#elif (CONFIG_KEYPAD == GIGABEAT_PAD) +#define SOL_QUIT BUTTON_A +#define SOL_UP BUTTON_UP +#define SOL_DOWN BUTTON_DOWN +#define SOL_LEFT BUTTON_LEFT +#define SOL_RIGHT BUTTON_RIGHT +#define SOL_MOVE_PRE BUTTON_SELECT +#define SOL_MOVE (BUTTON_SELECT | BUTTON_REL) +#define SOL_DRAW BUTTON_MENU +#define SOL_REM2CUR (BUTTON_LEFT | BUTTON_POWER) +#define SOL_CUR2STACK (BUTTON_SELECT | BUTTON_REPEAT) +#define SOL_REM2STACK (BUTTON_RIGHT | BUTTON_POWER) +#define SOL_MENU_RUN BUTTON_SELECT +#define SOL_MENU_RUN2 BUTTON_RIGHT +#define SOL_MENU_INFO BUTTON_MENU #endif /* common help definitions */ @@ -181,6 +196,13 @@ static struct plugin_api* rb; #define HELP_SOL_REM2CUR "REC+LEFT: Put the card on top of the remains' stack on top of the cursor." #define HELP_SOL_CUR2STACK "REC+UP..: Put the card under the cursor on one of the 4 final stacks." #define HELP_SOL_REM2STACK "REC+DOWN: Put the card on top of the remains' stack on one of the 4 final stacks." + +#elif (CONFIG_KEYPAD == GIGABEAT_PAD) +#define HELP_SOL_MOVE "SELECT: Select cards, Move cards, reveal hidden cards ..." +#define HELP_SOL_DRAW "MENU: Un-select a card if it was selected. Else, draw 3 new cards out of the remains' stack." +#define HELP_SOL_REM2CUR "POWER+LEFT: Put the card on top of the remains' stack on top of the cursor." +#define HELP_SOL_CUR2STACK "SELECT..: Put the card under the cursor on one of the 4 final stacks." +#define HELP_SOL_REM2STACK "POWER+RIGHT: Put the card on top of the remains' stack on one of the 4 final stacks." #endif |