diff options
Diffstat (limited to 'apps/plugins/spacerocks.c')
-rw-r--r-- | apps/plugins/spacerocks.c | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/apps/plugins/spacerocks.c b/apps/plugins/spacerocks.c index ede67291b0..268c55ad35 100644 --- a/apps/plugins/spacerocks.c +++ b/apps/plugins/spacerocks.c | |||
@@ -28,26 +28,8 @@ | |||
28 | 28 | ||
29 | 29 | ||
30 | /* variable button definitions */ | 30 | /* variable button definitions */ |
31 | #if CONFIG_KEYPAD == RECORDER_PAD | 31 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
32 | #define AST_PAUSE BUTTON_ON | 32 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
33 | #define AST_QUIT BUTTON_OFF | ||
34 | #define AST_THRUST BUTTON_UP | ||
35 | #define AST_HYPERSPACE BUTTON_DOWN | ||
36 | #define AST_LEFT BUTTON_LEFT | ||
37 | #define AST_RIGHT BUTTON_RIGHT | ||
38 | #define AST_FIRE BUTTON_PLAY | ||
39 | |||
40 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
41 | #define AST_PAUSE (BUTTON_MENU | BUTTON_OFF) | ||
42 | #define AST_QUIT BUTTON_OFF | ||
43 | #define AST_THRUST BUTTON_UP | ||
44 | #define AST_HYPERSPACE BUTTON_DOWN | ||
45 | #define AST_LEFT BUTTON_LEFT | ||
46 | #define AST_RIGHT BUTTON_RIGHT | ||
47 | #define AST_FIRE BUTTON_MENU | ||
48 | |||
49 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
50 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
51 | #define AST_PAUSE BUTTON_REC | 33 | #define AST_PAUSE BUTTON_REC |
52 | #define AST_QUIT BUTTON_OFF | 34 | #define AST_QUIT BUTTON_OFF |
53 | #define AST_THRUST BUTTON_UP | 35 | #define AST_THRUST BUTTON_UP |