Function fermium::events::SDL_EventState

source ·
pub unsafe extern "C" fn SDL_EventState(
    type_: SDL_EventType,
    state: c_int
) -> u8
Expand description

This function allows you to set the state of processing certain events.

  • If state is set to SDL_IGNORE, that event will be automatically dropped from the event queue and will not be filtered.
  • If state is set to SDL_ENABLE, that event will be processed normally.
  • If state is set to SDL_QUERY, SDL_EventState will return the current processing state of the specified event.