Use this function to check to see if for certain event types are in the event queue.
SDL_bool SDL_HasEvent(Uint32 mask)
criteria by which to select events from the queue
SDL_TRUE if events matching mask are present, or SDL_FALSE if events matching mask are not present. ???
You can add your code example here
You can add useful comments here