diff --git a/navy-apps/libs/libminiSDL/src/event.c b/navy-apps/libs/libminiSDL/src/event.c index f6e9b57..4dcb998 100644 --- a/navy-apps/libs/libminiSDL/src/event.c +++ b/navy-apps/libs/libminiSDL/src/event.c @@ -20,7 +20,7 @@ int SDL_PollEvent(SDL_Event *ev) { int SDL_WaitEvent(SDL_Event *event) { char buf[64]; while (NDL_PollEvent(buf, sizeof(buf)) == 0); - printf("SDL_WaitEvent Recv %s", buf); + // printf("SDL_WaitEvent Recv %s", buf); if (buf[0] == 'k') { if (buf[1] == 'd') { event->type = SDL_KEYDOWN; @@ -29,13 +29,13 @@ int SDL_WaitEvent(SDL_Event *event) { } for (int i = 0; i < 83; i ++ ) { if (strncmp(buf + 3, keyname[i], strlen(keyname[i])) == 0) { - printf("SDL_WaitEvent Got %s\n", keyname[i]); + // printf("SDL_WaitEvent Got %s\n", keyname[i]); event->key.keysym.sym = i; return 1; } } event->key.keysym.sym = SDLK_NONE; - printf("SDL_WaitEvent Unknown %s\n", buf + 3); + // printf("SDL_WaitEvent Unknown %s\n", buf + 3); } return 1; }