diff --git a/navy-apps/libs/libminiSDL/src/event.c b/navy-apps/libs/libminiSDL/src/event.c index 3d29536..fa6923f 100644 --- a/navy-apps/libs/libminiSDL/src/event.c +++ b/navy-apps/libs/libminiSDL/src/event.c @@ -29,6 +29,7 @@ int SDL_WaitEvent(SDL_Event *event) { for (int i = 0; i < sizeof(keyname) / sizeof(keyname[0]); i ++ ) { if (strcmp(buf + 3, keyname[i]) == 0) { event->key.keysym.sym = i; + printf("key %s\n", keyname[i]); return 1; } }