Putting a small delay (via SDL_Delay()) in the input loop seems to
so the 100% CPU usage issue.