mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-23 06:21:57 +00:00
Fixed SDL_GetDefaultScancodeFromKey()
This commit is contained in:
parent
afec46dbee
commit
725b95dc84
1 changed files with 1 additions and 1 deletions
|
|
@ -613,7 +613,7 @@ static SDL_Scancode SDL_GetDefaultScancodeFromKey(SDL_Keycode key, SDL_Keymod *m
|
|||
if (modstate) {
|
||||
*modstate = SDL_KMOD_SHIFT;
|
||||
}
|
||||
return (SDL_Scancode)(SDL_SCANCODE_A + key - 'Z');
|
||||
return (SDL_Scancode)(SDL_SCANCODE_A + key - 'A');
|
||||
}
|
||||
|
||||
for (int i = 0; i < SDL_arraysize(normal_default_symbols); ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue