diff options
Diffstat (limited to 'uisimulator/sdl/uisdl.c')
-rw-r--r-- | uisimulator/sdl/uisdl.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/uisimulator/sdl/uisdl.c b/uisimulator/sdl/uisdl.c index 09210926b5..28aaf59f82 100644 --- a/uisimulator/sdl/uisdl.c +++ b/uisimulator/sdl/uisdl.c | |||
@@ -83,6 +83,12 @@ void gui_message_loop(void) | |||
83 | printf("Mouse at: (%d, %d)\n", event.button.x, event.button.y); | 83 | printf("Mouse at: (%d, %d)\n", event.button.x, event.button.y); |
84 | } | 84 | } |
85 | break; | 85 | break; |
86 | #else | ||
87 | case SDL_MOUSEBUTTONUP: | ||
88 | sim_enter_irq_handler(); | ||
89 | button_event(BUTTON_TOUCHPAD, false); | ||
90 | sim_exit_irq_handler(); | ||
91 | break; | ||
86 | #endif | 92 | #endif |
87 | case SDL_QUIT: | 93 | case SDL_QUIT: |
88 | done = true; | 94 | done = true; |