Commit 423262789b1ec9328fd07add6bdec4ae9e09ef20

Ryan C. Gordon 2015-05-01T01:12:48

checkkeys: Readded the KEYUP event test.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/checkkeys.c b/test/checkkeys.c
index 1f03265..bfaa832 100644
--- a/test/checkkeys.c
+++ b/test/checkkeys.c
@@ -144,7 +144,7 @@ loop()
     while (SDL_PollEvent(&event)) {
         switch (event.type) {
         case SDL_KEYDOWN:
-        //case SDL_KEYUP:
+        case SDL_KEYUP:
 		    PrintKey(&event.key.keysym, (event.key.state == SDL_PRESSED) ? SDL_TRUE : SDL_FALSE, (event.key.repeat) ? SDL_TRUE : SDL_FALSE);
             break;
         case SDL_TEXTINPUT: