internal static extern byte SDL_EventState(SDL_EVENTTYPE type, int state);
/// <summary> /// TODO: Move out of interface /// Get the state of an event /// </summary> /// <param name="type"></param> /// <returns></returns> public static byte SDL_GetEventState(SDL_EVENTTYPE type) { return(SDL_EventState(type, SDL_QUERY)); }
internal static extern void SDL_FlushEvents(SDL_EVENTTYPE min, SDL_EVENTTYPE max);
internal static extern void SDL_FlushEvent(SDL_EVENTTYPE type);
internal static extern SDL_BOOL SDL_HasEvents(SDL_EVENTTYPE minType, SDL_EVENTTYPE maxType);
internal static extern SDL_BOOL SDL_HasEvent(SDL_EVENTTYPE type);
internal static extern int SDL_PeepEvents([Out()][MarshalAs(UnmanagedType.LPArray, SizeParamIndex = 1)] SDL_Event[] events, int numevents, SDL_EVENTACTION action, SDL_EVENTTYPE minType, SDL_EVENTTYPE maxType);