diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-09-23 02:03:48 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-09-23 02:03:48 +0000 |
commit | b95dbd21cf79940a02ef9f95d8914b7f439f2891 (patch) | |
tree | 42e5eef9b89f6e9769c2819c4af24e8031b822b0 /apps/plugins | |
parent | 4d4555e434e7ae1b97728034ee1ce27e6bc76da1 (diff) |
Oops, forgot the touchscreen targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18572 a1c6a512-1295-4272-9138-f99709370657
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 #endif #ifdef HAVE_TOUCHSCREEN -// not enough touchfields, so CUBE_QUIT have to be -// mapped to a real button -//ifndef CUBE_QUIT -//#define CUBE_QUIT BUTTON_TOPLEFT -//#endif -#ifndef CUBE_X_INC -#define CUBE_X_INC BUTTON_MIDRIGHT +#ifndef CUBE_QUIT +#define CUBE_QUIT BUTTON_TOPLEFT #endif -#ifndef CUBE_X_DEC -#define CUBE_X_DEC BUTTON_MIDLEFT +#ifndef CUBE_NEXT +#define CUBE_NEXT BUTTON_MIDRIGHT #endif -#ifndef CUBE_Y_INC -#define CUBE_Y_INC BUTTON_TOPMIDDLE +#ifndef CUBE_PREV +#define CUBE_PREV BUTTON_MIDLEFT #endif -#ifndef CUBE_Y_DEC -#define CUBE_Y_DEC BUTTON_BOTTOMMIDDLE +#ifndef CUBE_INC +#define CUBE_INC BUTTON_TOPMIDDLE #endif -#ifndef CUBE_Z_INC -#define CUBE_Z_INC BUTTON_BOTTOMRIGHT -#endif -#ifndef CUBE_Z_DEC -#define CUBE_Z_DEC BUTTON_BOTTOMLEFT +#ifndef CUBE_DEC +#define CUBE_DEC BUTTON_BOTTOMMIDDLE #endif #ifndef CUBE_MODE #define CUBE_MODE BUTTON_TOPRIGHT #endif #ifndef CUBE_PAUSE -#define CUBE_PAUSE (BUTTON_CENTER | BUTTON_REL) +#define CUBE_PAUSE BUTTON_CENTER #endif #ifndef CUBE_HIGHSPEED -#define CUBE_HIGHSPEED BUTTON_TOPLEFT +#define CUBE_HIGHSPEED BUTTON_BOTTOMRIGHT #endif #endif |