diff options
Diffstat (limited to 'apps/plugins/spacerocks.c')
-rw-r--r-- | apps/plugins/spacerocks.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/spacerocks.c b/apps/plugins/spacerocks.c index 1926c9bf04..2b22bb491e 100644 --- a/apps/plugins/spacerocks.c +++ b/apps/plugins/spacerocks.c | |||
@@ -161,6 +161,19 @@ static const struct plugin_api* rb; /* global api struct pointer */ | |||
161 | #define AST_FIRE BUTTON_SELECT | 161 | #define AST_FIRE BUTTON_SELECT |
162 | #define AST_FIRE_REP (BUTTON_SELECT | BUTTON_REPEAT) | 162 | #define AST_FIRE_REP (BUTTON_SELECT | BUTTON_REPEAT) |
163 | 163 | ||
164 | #elif (CONFIG_KEYPAD == SANSA_M200_PAD) | ||
165 | #define AST_PAUSE (BUTTON_SELECT | BUTTON_UP) | ||
166 | #define AST_QUIT BUTTON_POWER | ||
167 | #define AST_THRUST_REP (BUTTON_UP | BUTTON_REPEAT) | ||
168 | #define AST_THRUST BUTTON_UP | ||
169 | #define AST_HYPERSPACE BUTTON_DOWN | ||
170 | #define AST_LEFT BUTTON_LEFT | ||
171 | #define AST_LEFT_REP (BUTTON_LEFT | BUTTON_REPEAT) | ||
172 | #define AST_RIGHT BUTTON_RIGHT | ||
173 | #define AST_RIGHT_REP (BUTTON_RIGHT | BUTTON_REPEAT) | ||
174 | #define AST_FIRE (BUTTON_SELECT | BUTTON_REL) | ||
175 | #define AST_FIRE_REP (BUTTON_SELECT | BUTTON_REPEAT) | ||
176 | |||
164 | #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) | 177 | #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) |
165 | #define AST_PAUSE BUTTON_PLAY | 178 | #define AST_PAUSE BUTTON_PLAY |
166 | #define AST_QUIT BUTTON_POWER | 179 | #define AST_QUIT BUTTON_POWER |