test/checkkeys.c
changeset 2307 47f8a579cd9b
parent 2305 fbe8ff44c519
child 2315 95586dfe1992
     1.1 --- a/test/checkkeys.c	Thu Feb 07 16:00:29 2008 +0000
     1.2 +++ b/test/checkkeys.c	Thu Feb 07 16:14:43 2008 +0000
     1.3 @@ -63,8 +63,10 @@
     1.4                 SDL_GetScancodeName(sym->scancode),
     1.5                 sym->sym, SDL_GetKeyName(sym->sym));
     1.6      } else {
     1.7 -        printf("Unknown Key (scancode = 0x%04X) %s ",
     1.8 -               sym->scancode, pressed ? "pressed" : "released");
     1.9 +        printf("Unknown Key (scancode = 0x%04X = %s) %s ",
    1.10 +               sym->scancode,
    1.11 +               SDL_GetScancodeName(sym->scancode),
    1.12 +               pressed ? "pressed" : "released");
    1.13      }
    1.14  
    1.15      /* Print the translated character, if one exists */