mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-21 19:12:39 -05:00
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:
parent
965d2af61f
commit
1392dc2144
81 changed files with 233 additions and 231 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue