From b478b5b568a1b3bbbd3c9547a74917c6aae36c48 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Fri, 21 Jun 2019 17:20:18 +0300 Subject: [PATCH] Fix bugged mouse support on some platforms --- SDL/gui.c | 1 + 1 file changed, 1 insertion(+) diff --git a/SDL/gui.c b/SDL/gui.c index 9fb5ab2..0723384 100644 --- a/SDL/gui.c +++ b/SDL/gui.c @@ -883,6 +883,7 @@ void run_gui(bool is_running) } } + break; case SDL_JOYBUTTONDOWN: event.type = SDL_KEYDOWN; joypad_button_t button = get_joypad_button(event.jbutton.button);