Fix bugged mouse support on some platforms

This commit is contained in:
Lior Halphon 2019-06-21 17:20:18 +03:00
parent 72d1d9b154
commit b478b5b568
1 changed files with 1 additions and 0 deletions

View File

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