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);