summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy
diff options
context:
space:
mode:
authorMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-23 09:46:38 +0000
committerMaurus Cuelenaere <mcuelenaere@gmail.com>2008-08-23 09:46:38 +0000
commit1392dc2144a4b1810ba5c421f54e05dc1a3a74c7 (patch)
tree7f7f7d6dd6ce00e8146896456549441d4e8153d7 /apps/plugins/rockboy
parent965d2af61f5035dcf5179b8539785de641a9f015 (diff)
downloadrockbox-1392dc2144a4b1810ba5c421f54e05dc1a3a74c7.tar.gz
rockbox-1392dc2144a4b1810ba5c421f54e05dc1a3a74c7.zip
Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r--apps/plugins/rockboy/rockboy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c
index d214807c2d..1de2c2f4d1 100644
--- a/apps/plugins/rockboy/rockboy.c
+++ b/apps/plugins/rockboy/rockboy.c
@@ -86,7 +86,7 @@ static void setoptions (void)
86 fd = open(optionsave, O_RDONLY); 86 fd = open(optionsave, O_RDONLY);
87 if(fd < 0) /* no options to read, set defaults */ 87 if(fd < 0) /* no options to read, set defaults */
88 { 88 {
89#ifdef HAVE_TOUCHPAD 89#ifdef HAVE_TOUCHSCREEN
90 options.LEFT=BUTTON_MIDLEFT; 90 options.LEFT=BUTTON_MIDLEFT;
91 options.RIGHT=BUTTON_MIDRIGHT; 91 options.RIGHT=BUTTON_MIDRIGHT;
92#else 92#else
@@ -219,7 +219,7 @@ static void setoptions (void)
219#error No Keymap Defined! 219#error No Keymap Defined!
220#endif 220#endif
221 221
222#ifdef HAVE_TOUCHPAD 222#ifdef HAVE_TOUCHSCREEN
223 options.UP=BUTTON_TOPMIDDLE; 223 options.UP=BUTTON_TOPMIDDLE;
224 options.DOWN=BUTTON_BOTTOMMIDDLE; 224 options.DOWN=BUTTON_BOTTOMMIDDLE;
225 225