checkkeys: Readded the KEYUP event test.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 01 May 2015 01:12:48 -0400
changeset 9580 d37ef6990bf9
parent 9579 9a5b4bf6f4d1
child 9581 4da24acfbd90
checkkeys: Readded the KEYUP event test.
test/checkkeys.c
--- a/test/checkkeys.c	Thu Apr 30 21:45:29 2015 +0200
+++ b/test/checkkeys.c	Fri May 01 01:12:48 2015 -0400
@@ -144,7 +144,7 @@
     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: