mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-24 16:05:32 +00:00
checkkeys: Readded the KEYUP event test.
This commit is contained in:
parent
9979bab20b
commit
423262789b
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue