logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Description

       This function allows you to set the state of processing certain event type's.

       If  state  is  set  to SDL_IGNORE, that event type will be automatically dropped from the event queue and
       will not be filtered.

       If state is set to SDL_ENABLE, that event type will be processed normally.

       If state is set to SDL_QUERY, SDL_EventState will return the current processing state  of  the  specified
       event type.

       A list of event type's can be found in the SDL_Event section.

Name

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

See Also

SDL_Event

SDL                                          Tue 11 Sep 2001, 22:59                            SDL_EventState(3)

Synopsis

#include"SDL.h"Uint8SDL_EventState(Uint8type,intstate);

See Also