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.tar.gz rockbox-338e2bbb0c6673452c64378ef9e609d5c19c7558.zip |
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 cf6c6cb965..26629665d9 100644 --- a/apps/plugins/solitaire.c +++ b/apps/plugins/solitaire.c | |||
@@ -136,7 +136,22 @@ static struct plugin_api* rb; | |||
136 | #define SOL_REM2STACK (BUTTON_REC | BUTTON_DOWN) | 136 | #define SOL_REM2STACK (BUTTON_REC | BUTTON_DOWN) |
137 | #define SOL_MENU_RUN BUTTON_SELECT | 137 | #define SOL_MENU_RUN BUTTON_SELECT |
138 | #define SOL_MENU_INFO BUTTON_PLAY | 138 | #define SOL_MENU_INFO BUTTON_PLAY |
139 | 139 | ||
140 | #elif (CONFIG_KEYPAD == GIGABEAT_PAD) | ||
141 | #define SOL_QUIT BUTTON_A | ||
142 | #define SOL_UP BUTTON_UP | ||
143 | #define SOL_DOWN BUTTON_DOWN | ||
144 | #define SOL_LEFT BUTTON_LEFT | ||
145 | #define SOL_RIGHT BUTTON_RIGHT | ||
146 | #define SOL_MOVE_PRE BUTTON_SELECT | ||
147 | #define SOL_MOVE (BUTTON_SELECT | BUTTON_REL) | ||
148 | #define SOL_DRAW BUTTON_MENU | ||
149 | #define SOL_REM2CUR (BUTTON_LEFT | BUTTON_POWER) | ||
150 | #define SOL_CUR2STACK (BUTTON_SELECT | BUTTON_REPEAT) | ||
151 | #define SOL_REM2STACK (BUTTON_RIGHT | BUTTON_POWER) | ||
152 | #define SOL_MENU_RUN BUTTON_SELECT | ||
153 | #define SOL_MENU_RUN2 BUTTON_RIGHT | ||
154 | #define SOL_MENU_INFO BUTTON_MENU | ||
140 | #endif | 155 | #endif |
141 | 156 | ||
142 | /* common help definitions */ | 157 | /* common help definitions */ |
@@ -181,6 +196,13 @@ static struct plugin_api* rb; | |||
181 | #define HELP_SOL_REM2CUR "REC+LEFT: Put the card on top of the remains' stack on top of the cursor." | 196 | #define HELP_SOL_REM2CUR "REC+LEFT: Put the card on top of the remains' stack on top of the cursor." |
182 | #define HELP_SOL_CUR2STACK "REC+UP..: Put the card under the cursor on one of the 4 final stacks." | 197 | #define HELP_SOL_CUR2STACK "REC+UP..: Put the card under the cursor on one of the 4 final stacks." |
183 | #define HELP_SOL_REM2STACK "REC+DOWN: Put the card on top of the remains' stack on one of the 4 final stacks." | 198 | #define HELP_SOL_REM2STACK "REC+DOWN: Put the card on top of the remains' stack on one of the 4 final stacks." |
199 | |||
200 | #elif (CONFIG_KEYPAD == GIGABEAT_PAD) | ||
201 | #define HELP_SOL_MOVE "SELECT: Select cards, Move cards, reveal hidden cards ..." | ||
202 | #define HELP_SOL_DRAW "MENU: Un-select a card if it was selected. Else, draw 3 new cards out of the remains' stack." | ||
203 | #define HELP_SOL_REM2CUR "POWER+LEFT: Put the card on top of the remains' stack on top of the cursor." | ||
204 | #define HELP_SOL_CUR2STACK "SELECT..: Put the card under the cursor on one of the 4 final stacks." | ||
205 | #define HELP_SOL_REM2STACK "POWER+RIGHT: Put the card on top of the remains' stack on one of the 4 final stacks." | ||
184 | 206 | ||
185 | #endif | 207 | #endif |
186 | 208 | ||