diff test/checkkeys.c @ 2305:fbe8ff44c519

First pass of new SDL scancode concept for X11.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 07 Feb 2008 15:31:09 +0000
parents d87417504c75
children 47f8a579cd9b
line wrap: on
line diff
--- a/test/checkkeys.c	Tue Feb 05 07:30:50 2008 +0000
+++ b/test/checkkeys.c	Thu Feb 07 15:31:09 2008 +0000
@@ -91,6 +91,7 @@
 static void
 PrintText(char *text)
 {
+    printf("Text: %s\n", text);
 }
 
 int
@@ -124,13 +125,6 @@
         quit(2);
     }
 
-    /* Enable UNICODE translation for keyboard input */
-    SDL_EnableUNICODE(1);
-
-    /* Enable auto repeat for keyboard input */
-    SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY,
-                        SDL_DEFAULT_REPEAT_INTERVAL);
-
     /* Watch keystrokes */
     done = 0;
     while (!done) {