SDL Wiki
(This is the legacy documentation for stable SDL2, the current stable version; SDL3 is the current development version.)

SDL_EventState

Set the state of processing events by type.

Syntax

Uint8 SDL_EventState(Uint32 type, int state);

Function Parameters

type the type of event; see SDL_EventType for details
state how to process the event

Return Value

Returns SDL_DISABLE or SDL_ENABLE, representing the processing state of the event before this function makes any changes to it.

Remarks

state may be any of the following:

Version

This function is available since SDL 2.0.0.


CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.