checkkeys: Readded the KEYUP event test.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 01 May 2015 01:12:48 -0400
changeset 9580d37ef6990bf9
parent 9579 9a5b4bf6f4d1
child 9581 4da24acfbd90
checkkeys: Readded the KEYUP event test.
test/checkkeys.c
     1.1 --- a/test/checkkeys.c	Thu Apr 30 21:45:29 2015 +0200
     1.2 +++ b/test/checkkeys.c	Fri May 01 01:12:48 2015 -0400
     1.3 @@ -144,7 +144,7 @@
     1.4      while (SDL_PollEvent(&event)) {
     1.5          switch (event.type) {
     1.6          case SDL_KEYDOWN:
     1.7 -        //case SDL_KEYUP:
     1.8 +        case SDL_KEYUP:
     1.9  		    PrintKey(&event.key.keysym, (event.key.state == SDL_PRESSED) ? SDL_TRUE : SDL_FALSE, (event.key.repeat) ? SDL_TRUE : SDL_FALSE);
    1.10              break;
    1.11          case SDL_TEXTINPUT: