Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Maurus Cuelenaere 2008-08-23 09:46:38 +00:00
parent 965d2af61f
commit 1392dc2144
81 changed files with 233 additions and 231 deletions

View file

@ -78,7 +78,7 @@ void gui_message_loop(void)
button_event(event.key.keysym.sym, false);
sim_exit_irq_handler();
break;
#ifndef HAVE_TOUCHPAD
#ifndef HAVE_TOUCHSCREEN
case SDL_MOUSEBUTTONDOWN:
if (debug_wps && event.button.button == 1)
{
@ -88,7 +88,7 @@ void gui_message_loop(void)
#else
case SDL_MOUSEBUTTONUP:
sim_enter_irq_handler();
button_event(BUTTON_TOUCHPAD, false);
button_event(BUTTON_TOUCHSCREEN, false);
sim_exit_irq_handler();
break;
#endif