test/checkkeys.c
changeset 2315 95586dfe1992
parent 2307 47f8a579cd9b
child 4560 95352c671a6e
     1.1 --- a/test/checkkeys.c	Sun Feb 10 16:21:05 2008 +0000
     1.2 +++ b/test/checkkeys.c	Sun Feb 10 17:29:23 2008 +0000
     1.3 @@ -57,13 +57,13 @@
     1.4  {
     1.5      /* Print the keycode, name and state */
     1.6      if (sym->sym) {
     1.7 -        printf("Key %s:  scancode 0x%04X = %s, keycode 0x%08X = %s ",
     1.8 +        printf("Key %s:  scancode %d = %s, keycode 0x%08X = %s ",
     1.9                 pressed ? "pressed " : "released",
    1.10                 sym->scancode,
    1.11                 SDL_GetScancodeName(sym->scancode),
    1.12                 sym->sym, SDL_GetKeyName(sym->sym));
    1.13      } else {
    1.14 -        printf("Unknown Key (scancode = 0x%04X = %s) %s ",
    1.15 +        printf("Unknown Key (scancode %d = %s) %s ",
    1.16                 sym->scancode,
    1.17                 SDL_GetScancodeName(sym->scancode),
    1.18                 pressed ? "pressed" : "released");