1SDL_EventState(3)              SDL API Reference             SDL_EventState(3)
2
3
4

NAME

6       SDL_EventState  - This function allows you to set the state of process‐
7       ing certain events.
8

SYNOPSIS

10       #include "SDL.h"
11
12       Uint8 SDL_EventState(Uint8 type, int state);
13

DESCRIPTION

15       This function allows you to set the state of processing  certain  event
16       type's.
17
18       If  state  is  set to SDL_IGNORE, that event type will be automatically
19       dropped from the event queue and will not be filtered.
20
21       If state is set to SDL_ENABLE, that event type will be  processed  nor‐
22       mally.
23
24       If  state  is  set to SDL_QUERY, SDL_EventState will return the current
25       processing state of the specified event type.
26
27       A list of event type's can be found in the SDL_Event section.
28

SEE ALSO

30       SDL_Event
31
32
33
34SDL                         Tue 11 Sep 2001, 22:59           SDL_EventState(3)
Impressum