summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/uisdl.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 /uisimulator/sdl/uisdl.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 'uisimulator/sdl/uisdl.c')
-rw-r--r--uisimulator/sdl/uisdl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/sdl/uisdl.c b/uisimulator/sdl/uisdl.c
index f0e99070e5..156e4203f6 100644
--- a/uisimulator/sdl/uisdl.c
+++ b/uisimulator/sdl/uisdl.c
@@ -78,7 +78,7 @@ void gui_message_loop(void)
78 button_event(event.key.keysym.sym, false); 78 button_event(event.key.keysym.sym, false);
79 sim_exit_irq_handler(); 79 sim_exit_irq_handler();
80 break; 80 break;
81#ifndef HAVE_TOUCHPAD 81#ifndef HAVE_TOUCHSCREEN
82 case SDL_MOUSEBUTTONDOWN: 82 case SDL_MOUSEBUTTONDOWN:
83 if (debug_wps && event.button.button == 1) 83 if (debug_wps && event.button.button == 1)
84 { 84 {
@@ -88,7 +88,7 @@ void gui_message_loop(void)
88#else 88#else
89 case SDL_MOUSEBUTTONUP: 89 case SDL_MOUSEBUTTONUP:
90 sim_enter_irq_handler(); 90 sim_enter_irq_handler();
91 button_event(BUTTON_TOUCHPAD, false); 91 button_event(BUTTON_TOUCHSCREEN, false);
92 sim_exit_irq_handler(); 92 sim_exit_irq_handler();
93 break; 93 break;
94#endif 94#endif