test/checkkeys.c
changeset 2300 c97ad1abe05b
parent 2295 dbc6d1893869
child 2303 d87417504c75
--- a/test/checkkeys.c	Sat Jan 12 18:07:06 2008 +0000
+++ b/test/checkkeys.c	Tue Jan 15 22:37:17 2008 +0000
@@ -89,6 +89,11 @@
     printf("\n");
 }
 
+static void
+PrintText(char *text)
+{
+}
+
 int
 main(int argc, char *argv[])
 {
@@ -139,6 +144,9 @@
         case SDL_KEYUP:
             PrintKey(&event.key.keysym, 0);
             break;
+        case SDL_TEXTINPUT:
+            PrintText(event.text.text);
+            break;
         case SDL_MOUSEBUTTONDOWN:
             /* Any button press quits the app... */
         case SDL_QUIT: