Fix bugged mouse support on some platforms
This commit is contained in:
parent
72d1d9b154
commit
b478b5b568
@ -883,6 +883,7 @@ void run_gui(bool is_running)
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case SDL_JOYBUTTONDOWN:
|
case SDL_JOYBUTTONDOWN:
|
||||||
event.type = SDL_KEYDOWN;
|
event.type = SDL_KEYDOWN;
|
||||||
joypad_button_t button = get_joypad_button(event.jbutton.button);
|
joypad_button_t button = get_joypad_button(event.jbutton.button);
|
||||||
|
Loading…
Reference in New Issue
Block a user