mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-13 04:01:36 +02:00
Renamed SDLK_a-z to SDLK_A-Z
Made the symbols uppercase for consistency with the other SDLK_* constants, but the values are still lowercase.
This commit is contained in:
@@ -257,8 +257,8 @@ SDL_Scancode SDL_GetDefaultScancodeFromKey(SDL_Keycode key, SDL_Keymod *modstate
|
||||
return (SDL_Scancode)(key & ~SDLK_SCANCODE_MASK);
|
||||
}
|
||||
|
||||
if (key >= SDLK_a && key <= SDLK_z) {
|
||||
return (SDL_Scancode)(SDL_SCANCODE_A + key - SDLK_a);
|
||||
if (key >= SDLK_A && key <= SDLK_Z) {
|
||||
return (SDL_Scancode)(SDL_SCANCODE_A + key - SDLK_A);
|
||||
}
|
||||
|
||||
if (key >= 'A' && key <= 'Z') {
|
||||
|
||||
Reference in New Issue
Block a user