diff options
Diffstat (limited to 'apps/plugins/star.c')
-rw-r--r-- | apps/plugins/star.c | 38 |
1 files changed, 2 insertions, 36 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c index 5814cc8cab..ea1d5b8bf8 100644 --- a/apps/plugins/star.c +++ b/apps/plugins/star.c | |||
@@ -57,42 +57,8 @@ | |||
57 | #define STAR_CONTROL_BLOCK 1 | 57 | #define STAR_CONTROL_BLOCK 1 |
58 | 58 | ||
59 | /* variable button definitions */ | 59 | /* variable button definitions */ |
60 | #if CONFIG_KEYPAD == RECORDER_PAD | 60 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
61 | #define STAR_QUIT BUTTON_OFF | 61 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
62 | #define STAR_LEFT BUTTON_LEFT | ||
63 | #define STAR_RIGHT BUTTON_RIGHT | ||
64 | #define STAR_UP BUTTON_UP | ||
65 | #define STAR_DOWN BUTTON_DOWN | ||
66 | #define STAR_TOGGLE_CONTROL BUTTON_ON | ||
67 | #define STAR_TOGGLE_CONTROL2 BUTTON_PLAY | ||
68 | #define STAR_LEVEL_UP BUTTON_F3 | ||
69 | #define STAR_LEVEL_DOWN BUTTON_F1 | ||
70 | #define STAR_LEVEL_REPEAT BUTTON_F2 | ||
71 | #define STAR_TOGGLE_CONTROL_NAME "ON" | ||
72 | #define STAR_QUIT_NAME "OFF" | ||
73 | #define STAR_LEVEL_UP_NAME "F3" | ||
74 | #define STAR_LEVEL_DOWN_NAME "F1" | ||
75 | #define STAR_LEVEL_REPEAT_NAME "F2" | ||
76 | |||
77 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
78 | #define STAR_QUIT BUTTON_OFF | ||
79 | #define STAR_LEFT BUTTON_LEFT | ||
80 | #define STAR_RIGHT BUTTON_RIGHT | ||
81 | #define STAR_UP BUTTON_UP | ||
82 | #define STAR_DOWN BUTTON_DOWN | ||
83 | #define STAR_TOGGLE_CONTROL_PRE BUTTON_MENU | ||
84 | #define STAR_TOGGLE_CONTROL (BUTTON_MENU | BUTTON_REL) | ||
85 | #define STAR_LEVEL_UP (BUTTON_MENU | BUTTON_RIGHT) | ||
86 | #define STAR_LEVEL_DOWN (BUTTON_MENU | BUTTON_LEFT) | ||
87 | #define STAR_LEVEL_REPEAT (BUTTON_MENU | BUTTON_UP) | ||
88 | #define STAR_TOGGLE_CONTROL_NAME "MODE" | ||
89 | #define STAR_QUIT_NAME "OFF" | ||
90 | #define STAR_LEVEL_UP_NAME "M >" | ||
91 | #define STAR_LEVEL_DOWN_NAME "M <" | ||
92 | #define STAR_LEVEL_REPEAT_NAME "M ^" | ||
93 | |||
94 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
95 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
96 | #define STAR_QUIT BUTTON_OFF | 62 | #define STAR_QUIT BUTTON_OFF |
97 | #define STAR_LEFT BUTTON_LEFT | 63 | #define STAR_LEFT BUTTON_LEFT |
98 | #define STAR_RIGHT BUTTON_RIGHT | 64 | #define STAR_RIGHT BUTTON_RIGHT |