pupsleep=0; $ while ( SDL_PollEvent(&event) );$ {$ if (pupsleep > 10 || event.type == SDL_KEYUP || event.type == SDL_KEYDOWN || event.type == SDL_MOUSEBUTTONDOWN || options.cli_server > -1)$ {$ printf("\n KEYPRESSED BREAKOUT OF WAITLOOP");$ break;$ }$ pupsleep++;$ SDL_Delay(25); $ }