diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/cube.c | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index 76c55353c6..37c74f6ff3 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c | |||
@@ -210,37 +210,29 @@ PLUGIN_HEADER | |||
210 | #endif | 210 | #endif |
211 | 211 | ||
212 | #ifdef HAVE_TOUCHSCREEN | 212 | #ifdef HAVE_TOUCHSCREEN |
213 | // not enough touchfields, so CUBE_QUIT have to be | 213 | #ifndef CUBE_QUIT |
214 | // mapped to a real button | 214 | #define CUBE_QUIT BUTTON_TOPLEFT |
215 | //ifndef CUBE_QUIT | ||
216 | //#define CUBE_QUIT BUTTON_TOPLEFT | ||
217 | //#endif | ||
218 | #ifndef CUBE_X_INC | ||
219 | #define CUBE_X_INC BUTTON_MIDRIGHT | ||
220 | #endif | 215 | #endif |
221 | #ifndef CUBE_X_DEC | 216 | #ifndef CUBE_NEXT |
222 | #define CUBE_X_DEC BUTTON_MIDLEFT | 217 | #define CUBE_NEXT BUTTON_MIDRIGHT |
223 | #endif | 218 | #endif |
224 | #ifndef CUBE_Y_INC | 219 | #ifndef CUBE_PREV |
225 | #define CUBE_Y_INC BUTTON_TOPMIDDLE | 220 | #define CUBE_PREV BUTTON_MIDLEFT |
226 | #endif | 221 | #endif |
227 | #ifndef CUBE_Y_DEC | 222 | #ifndef CUBE_INC |
228 | #define CUBE_Y_DEC BUTTON_BOTTOMMIDDLE | 223 | #define CUBE_INC BUTTON_TOPMIDDLE |
229 | #endif | 224 | #endif |
230 | #ifndef CUBE_Z_INC | 225 | #ifndef CUBE_DEC |
231 | #define CUBE_Z_INC BUTTON_BOTTOMRIGHT | 226 | #define CUBE_DEC BUTTON_BOTTOMMIDDLE |
232 | #endif | ||
233 | #ifndef CUBE_Z_DEC | ||
234 | #define CUBE_Z_DEC BUTTON_BOTTOMLEFT | ||
235 | #endif | 227 | #endif |
236 | #ifndef CUBE_MODE | 228 | #ifndef CUBE_MODE |
237 | #define CUBE_MODE BUTTON_TOPRIGHT | 229 | #define CUBE_MODE BUTTON_TOPRIGHT |
238 | #endif | 230 | #endif |
239 | #ifndef CUBE_PAUSE | 231 | #ifndef CUBE_PAUSE |
240 | #define CUBE_PAUSE (BUTTON_CENTER | BUTTON_REL) | 232 | #define CUBE_PAUSE BUTTON_CENTER |
241 | #endif | 233 | #endif |
242 | #ifndef CUBE_HIGHSPEED | 234 | #ifndef CUBE_HIGHSPEED |
243 | #define CUBE_HIGHSPEED BUTTON_TOPLEFT | 235 | #define CUBE_HIGHSPEED BUTTON_BOTTOMRIGHT |
244 | #endif | 236 | #endif |
245 | #endif | 237 | #endif |
246 | 238 | ||