Change SDL_Keycode
type to an enum
This commit is contained in:
parent
f8844d387c
commit
f8cb3c742d
8 changed files with 30 additions and 21 deletions
|
@ -1671,7 +1671,7 @@ static void SDLTest_PrintEvent(const SDL_Event *event)
|
|||
SDL_strlcpy(modstr, "NONE", sizeof (modstr));
|
||||
}
|
||||
|
||||
SDL_Log("SDL EVENT: Keyboard: key %s in window %" SDL_PRIu32 ": scancode 0x%08X = %s, keycode 0x%08" SDL_PRIX32 " = %s, mods = %s",
|
||||
SDL_Log("SDL EVENT: Keyboard: key %s in window %" SDL_PRIu32 ": scancode 0x%08X = %s, keycode 0x%08X = %s, mods = %s",
|
||||
(event->type == SDL_EVENT_KEY_DOWN) ? "pressed" : "released",
|
||||
event->key.windowID,
|
||||
event->key.keysym.scancode,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue