diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-23 09:46:38 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-08-23 09:46:38 +0000 |
commit | 1392dc2144a4b1810ba5c421f54e05dc1a3a74c7 (patch) | |
tree | 7f7f7d6dd6ce00e8146896456549441d4e8153d7 /apps/gui/list.c | |
parent | 965d2af61f5035dcf5179b8539785de641a9f015 (diff) | |
download | rockbox-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.c | 10 |
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) | |||
576 | } | 576 | } |
577 | 577 | ||
578 | extern intptr_t get_action_data(void); | 578 | extern intptr_t get_action_data(void); |
579 | #if defined(HAVE_TOUCHPAD) | 579 | #if defined(HAVE_TOUCHSCREEN) |
580 | /* this needs to be fixed if we ever get more than 1 touchscreen on a target */ | 580 | /* this needs to be fixed if we ever get more than 1 touchscreen on a target */ |
581 | unsigned gui_synclist_do_touchpad(struct gui_synclist * gui_list, struct viewport *parent); | 581 | unsigned gui_synclist_do_touchscreen(struct gui_synclist * gui_list, struct viewport *parent); |
582 | #endif | 582 | #endif |
583 | 583 | ||
584 | bool gui_synclist_do_button(struct gui_synclist * lists, | 584 | bool gui_synclist_do_button(struct gui_synclist * lists, |
@@ -619,9 +619,9 @@ bool gui_synclist_do_button(struct gui_synclist * lists, | |||
619 | } | 619 | } |
620 | #endif | 620 | #endif |
621 | 621 | ||
622 | #if defined(HAVE_TOUCHPAD) | 622 | #if defined(HAVE_TOUCHSCREEN) |
623 | if (action == ACTION_TOUCHPAD) | 623 | if (action == ACTION_TOUCHSCREEN) |
624 | action = *actionptr = gui_synclist_do_touchpad(lists, &parent[SCREEN_MAIN]); | 624 | action = *actionptr = gui_synclist_do_touchscreen(lists, &parent[SCREEN_MAIN]); |
625 | #endif | 625 | #endif |
626 | 626 | ||
627 | switch (wrap) | 627 | switch (wrap) |