test/threadwin.c
changeset 2117 40888832d785
parent 1895 c121d94672cb
child 4429 faa9fc8e7f67
     1.1 --- a/test/threadwin.c	Sat Jun 09 19:58:41 2007 +0000
     1.2 +++ b/test/threadwin.c	Wed Jun 13 06:05:39 2007 +0000
     1.3 @@ -184,8 +184,9 @@
     1.4                  /* We want to toggle visibility on buttonpress */
     1.5              case SDL_KEYDOWN:
     1.6              case SDL_KEYUP:
     1.7 -                printf("Key '%c' has been %s\n",
     1.8 +                printf("Key '%c' (keysym==%d) has been %s\n",
     1.9                         events[i].key.keysym.unicode,
    1.10 +                       (int) events[i].key.keysym.sym,
    1.11                         (events[i].key.state == SDL_PRESSED) ?
    1.12                         "pressed" : "released");
    1.13