diff options
Diffstat (limited to 'apps/plugins/solitaire.c')
-rw-r--r-- | apps/plugins/solitaire.c | 47 |
1 files changed, 34 insertions, 13 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c index 9a60635f45..33ac536267 100644 --- a/apps/plugins/solitaire.c +++ b/apps/plugins/solitaire.c | |||
@@ -109,19 +109,33 @@ static struct plugin_api* rb; | |||
109 | #define SOL_OPT BUTTON_ON | 109 | #define SOL_OPT BUTTON_ON |
110 | #define SOL_REM BUTTON_REC | 110 | #define SOL_REM BUTTON_REC |
111 | 111 | ||
112 | #elif (CONFIG_KEYPAD == IPOD_4G_PAD) | 112 | #elif (CONFIG_KEYPAD == IPOD_4G_PAD) |
113 | #define SOL_QUIT (BUTTON_SELECT | BUTTON_MENU) | 113 | #define SOL_QUIT (BUTTON_SELECT | BUTTON_MENU) |
114 | #define SOL_UP BUTTON_MENU | 114 | #define SOL_UP BUTTON_MENU |
115 | #define SOL_DOWN BUTTON_PLAY | 115 | #define SOL_DOWN BUTTON_PLAY |
116 | #define SOL_LEFT BUTTON_LEFT | 116 | #define SOL_LEFT BUTTON_LEFT |
117 | #define SOL_RIGHT BUTTON_RIGHT | 117 | #define SOL_RIGHT BUTTON_RIGHT |
118 | #define SOL_MOVE BUTTON_SELECT | 118 | #define SOL_MOVE BUTTON_SELECT |
119 | #define SOL_DRAW (BUTTON_SELECT | BUTTON_PLAY) | 119 | #define SOL_DRAW (BUTTON_SELECT | BUTTON_PLAY) |
120 | #define SOL_REM2CUR (BUTTON_SELECT | BUTTON_LEFT) | 120 | #define SOL_REM2CUR (BUTTON_SELECT | BUTTON_LEFT) |
121 | #define SOL_CUR2STACK (BUTTON_SELECT | BUTTON_RIGHT) | 121 | #define SOL_CUR2STACK (BUTTON_SELECT | BUTTON_RIGHT) |
122 | #define SOL_REM2STACK (BUTTON_LEFT | BUTTON_RIGHT) | 122 | #define SOL_REM2STACK (BUTTON_LEFT | BUTTON_RIGHT) |
123 | #define SOL_MENU_RUN BUTTON_SELECT | 123 | #define SOL_MENU_RUN BUTTON_SELECT |
124 | #define SOL_MENU_INFO (BUTTON_PLAY | BUTTON_MENU) | 124 | #define SOL_MENU_INFO (BUTTON_PLAY | BUTTON_MENU) |
125 | |||
126 | #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) | ||
127 | #define SOL_QUIT BUTTON_POWER | ||
128 | #define SOL_UP BUTTON_UP | ||
129 | #define SOL_DOWN BUTTON_DOWN | ||
130 | #define SOL_LEFT BUTTON_LEFT | ||
131 | #define SOL_RIGHT BUTTON_RIGHT | ||
132 | #define SOL_MOVE BUTTON_MENU | ||
133 | #define SOL_DRAW BUTTON_PLAY | ||
134 | #define SOL_REM2CUR (BUTTON_REC | BUTTON_LEFT) | ||
135 | #define SOL_CUR2STACK (BUTTON_REC | BUTTON_UP) | ||
136 | #define SOL_REM2STACK (BUTTON_REC | BUTTON_DOWN) | ||
137 | #define SOL_MENU_RUN BUTTON_MENU | ||
138 | #define SOL_MENU_INFO BUTTON_PLAY | ||
125 | 139 | ||
126 | #endif | 140 | #endif |
127 | 141 | ||
@@ -160,6 +174,13 @@ static struct plugin_api* rb; | |||
160 | #define HELP_SOL_REM2CUR "SELECT+LEFT: Put the card on top of the remains' stack on top of the cursor." | 174 | #define HELP_SOL_REM2CUR "SELECT+LEFT: Put the card on top of the remains' stack on top of the cursor." |
161 | #define HELP_SOL_CUR2STACK "SELECT+RIGHT..: Put the card under the cursor on one of the 4 final stacks." | 175 | #define HELP_SOL_CUR2STACK "SELECT+RIGHT..: Put the card under the cursor on one of the 4 final stacks." |
162 | #define HELP_SOL_REM2STACK "LEFT+RIGHT: Put the card on top of the remains' stack on one of the 4 final stacks." | 176 | #define HELP_SOL_REM2STACK "LEFT+RIGHT: Put the card on top of the remains' stack on one of the 4 final stacks." |
177 | |||
178 | #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) | ||
179 | #define HELP_SOL_MOVE "MENU: Select cards, Move cards, reveal hidden cards ..." | ||
180 | #define HELP_SOL_DRAW "PLAY: Un-select a card if it was selected. Else, draw 3 new cards out of the remains' stack." | ||
181 | #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." | ||
183 | #define HELP_SOL_REM2STACK "REC+DOWN: Put the card on top of the remains' stack on one of the 4 final stacks." | ||
163 | 184 | ||
164 | #endif | 185 | #endif |
165 | 186 | ||