Skip to content

Commit

Permalink
#2228: fixed right ALT
Browse files Browse the repository at this point in the history
  • Loading branch information
nesbox committed Jul 31, 2023
1 parent ffe686f commit 94031fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/system/sdl/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ static void processKeyboard()

platform.keyboard.state[tic_key_shift] = mod & KMOD_SHIFT;
platform.keyboard.state[tic_key_ctrl] = mod & (KMOD_CTRL | KMOD_GUI);
platform.keyboard.state[tic_key_alt] = mod & KMOD_LALT;
platform.keyboard.state[tic_key_alt] = mod & KMOD_ALT;
platform.keyboard.state[tic_key_capslock] = mod & KMOD_CAPS;

// it's weird, but system sends CTRL when you press RALT
Expand Down

0 comments on commit 94031fe

Please sign in to comment.