DRAFT |
SDL_AddEventWatch
Use this function to add a function which is called when an event is added to the queue.
Syntax
void SDL_AddEventWatch(SDL_EventFilter filter,
void* userdata)
Function Parameters
filter |
the function to call when an event happens; see Remarks for details |
userdata |
a pointer to the event queue to watch |
Code Examples
You can add your code example here
Remarks
The function prototype for filter is:
int YourEventFilter(void* userdata,
SDL_Event* event)
You can add useful comments here
