sdl2:sdl2.SDL_PeepEvents

Function SDL_PeepEvents:Int( events:SDL_Event Ptr,numevents:Int,action:SDL_eventaction,minType:Int,maxType_:Int )