diff options
Diffstat (limited to 'apps/plugins/snake2.c')
-rw-r--r-- | apps/plugins/snake2.c | 22 |
1 files changed, 2 insertions, 20 deletions
diff --git a/apps/plugins/snake2.c b/apps/plugins/snake2.c index dcb5b72633..bfff0bf870 100644 --- a/apps/plugins/snake2.c +++ b/apps/plugins/snake2.c | |||
@@ -150,26 +150,8 @@ Head and Tail are stored | |||
150 | #endif | 150 | #endif |
151 | 151 | ||
152 | /* variable button definitions */ | 152 | /* variable button definitions */ |
153 | #if CONFIG_KEYPAD == RECORDER_PAD | 153 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
154 | #define SNAKE2_LEFT BUTTON_LEFT | 154 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
155 | #define SNAKE2_RIGHT BUTTON_RIGHT | ||
156 | #define SNAKE2_UP BUTTON_UP | ||
157 | #define SNAKE2_DOWN BUTTON_DOWN | ||
158 | #define SNAKE2_QUIT BUTTON_OFF | ||
159 | #define SNAKE2_PLAYPAUSE BUTTON_PLAY | ||
160 | #define SNAKE2_PLAYPAUSE_TEXT "Play" | ||
161 | |||
162 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
163 | #define SNAKE2_LEFT BUTTON_LEFT | ||
164 | #define SNAKE2_RIGHT BUTTON_RIGHT | ||
165 | #define SNAKE2_UP BUTTON_UP | ||
166 | #define SNAKE2_DOWN BUTTON_DOWN | ||
167 | #define SNAKE2_QUIT BUTTON_OFF | ||
168 | #define SNAKE2_PLAYPAUSE BUTTON_MENU | ||
169 | #define SNAKE2_PLAYPAUSE_TEXT "Menu" | ||
170 | |||
171 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
172 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
173 | #define SNAKE2_LEFT BUTTON_LEFT | 155 | #define SNAKE2_LEFT BUTTON_LEFT |
174 | #define SNAKE2_RIGHT BUTTON_RIGHT | 156 | #define SNAKE2_RIGHT BUTTON_RIGHT |
175 | #define SNAKE2_UP BUTTON_UP | 157 | #define SNAKE2_UP BUTTON_UP |