mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 09:48:26 +00: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:
parent
d9dc4b320a
commit
e8dbbf8380
16 changed files with 275 additions and 93 deletions
|
@ -226,7 +226,7 @@ static void loop(void *arg)
|
|||
break;
|
||||
case SDL_EVENT_KEY_DOWN:
|
||||
switch (event.key.key) {
|
||||
case SDLK_l:
|
||||
case SDLK_L:
|
||||
if (event.key.mod & SDL_KMOD_SHIFT) {
|
||||
num_lines = 0;
|
||||
} else {
|
||||
|
@ -237,7 +237,7 @@ static void loop(void *arg)
|
|||
(float)SDL_rand(480));
|
||||
}
|
||||
break;
|
||||
case SDLK_r:
|
||||
case SDLK_R:
|
||||
if (event.key.mod & SDL_KMOD_SHIFT) {
|
||||
num_rects = 0;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue