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