mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-21 19:45:10 +00:00
allow right alt in fullscreen combo (#29)
This commit is contained in:
parent
1bd638ba2b
commit
c512d403a1
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ static void gfx_sdl_get_dimensions(uint32_t *width, uint32_t *height) {
|
|||
static void gfx_sdl_onkeydown(int scancode) {
|
||||
const Uint8 *state = SDL_GetKeyboardState(NULL);
|
||||
|
||||
if (state[SDL_SCANCODE_LALT] && state[SDL_SCANCODE_RETURN]) {
|
||||
if ((state[SDL_SCANCODE_LALT] || state[SDL_SCANCODE_RALT]) && state[SDL_SCANCODE_RETURN]) {
|
||||
configWindow.fullscreen = !configWindow.fullscreen;
|
||||
configWindow.settings_changed = true;
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue