diff options
Diffstat (limited to 'uisimulator/sdl/uisdl.c')
-rw-r--r-- | uisimulator/sdl/uisdl.c | 4 |
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 |