test/checkkeys.c
changeset 7312 b36811d7db33
parent 7191 75360622e65f
child 7317 37b77749523b
     1.1 --- a/test/checkkeys.c	Mon Jun 17 07:14:20 2013 -0700
     1.2 +++ b/test/checkkeys.c	Tue Jun 18 00:39:47 2013 -0700
     1.3 @@ -107,24 +107,6 @@
     1.4                  SDL_GetScancodeName(sym->scancode),
     1.5                  pressed ? "pressed " : "released");
     1.6      }
     1.7 -
     1.8 -    /* Print the translated character, if one exists */
     1.9 -    if (sym->unicode) {
    1.10 -        /* Is it a control-character? */
    1.11 -        if (sym->unicode < ' ') {
    1.12 -            print_string(&spot, &left, " (^%c)", sym->unicode + '@');
    1.13 -        } else {
    1.14 -#ifdef UNICODE
    1.15 -            print_string(&spot, &left, " (%c)", sym->unicode);
    1.16 -#else
    1.17 -            /* This is a Latin-1 program, so only show 8-bits */
    1.18 -            if (!(sym->unicode & 0xFF00))
    1.19 -                print_string(&spot, &left, " (%c)", sym->unicode);
    1.20 -            else
    1.21 -                print_string(&spot, &left, " (0x%X)", sym->unicode);
    1.22 -#endif
    1.23 -        }
    1.24 -    }
    1.25      print_modifiers(&spot, &left);
    1.26      if (repeat) {
    1.27          print_string(&spot, &left, " (repeat)");