summaryrefslogtreecommitdiffstats
path: root/apps/gui/list.c
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/gui/list.c
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/gui/list.c')
-rw-r--r--apps/gui/list.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 12ff929e8a..77ec090b04 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -576,9 +576,9 @@ void gui_synclist_speak_item(struct gui_synclist * lists)
}
extern intptr_t get_action_data(void);
-#if defined(HAVE_TOUCHPAD)
+#if defined(HAVE_TOUCHSCREEN)
/* this needs to be fixed if we ever get more than 1 touchscreen on a target */
-unsigned gui_synclist_do_touchpad(struct gui_synclist * gui_list, struct viewport *parent);
+unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list, struct viewport *parent);
#endif
bool gui_synclist_do_button(struct gui_synclist * lists,
@@ -619,9 +619,9 @@ bool gui_synclist_do_button(struct gui_synclist * lists,
}
#endif
-#if defined(HAVE_TOUCHPAD)
- if (action == ACTION_TOUCHPAD)
- action = *actionptr = gui_synclist_do_touchpad(lists, &parent[SCREEN_MAIN]);
+#if defined(HAVE_TOUCHSCREEN)
+ if (action == ACTION_TOUCHSCREEN)
+ action = *actionptr = gui_synclist_do_touchscreen(lists, &parent[SCREEN_MAIN]);
#endif
switch (wrap)