mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-31 17:07:39 +00:00
Putting the simple back into Simple DirectMedia Layer
This commit is contained in:
parent
0d3db8390d
commit
a1998d106d
7 changed files with 26 additions and 35 deletions
|
@ -202,7 +202,7 @@ static void PrintKey(SDL_KeyboardEvent *event)
|
|||
event->raw,
|
||||
event->scancode,
|
||||
event->scancode == SDL_SCANCODE_UNKNOWN ? "UNKNOWN" : SDL_GetScancodeName(event->scancode),
|
||||
event->key, SDL_GetKeyName(event->key, SDL_TRUE));
|
||||
event->key, SDL_GetKeyName(event->key));
|
||||
} else {
|
||||
print_string(&spot, &left,
|
||||
"Unknown Key (raw 0x%.2x, scancode %d = %s) %s ",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue