Mercurial > sdl-ios-xcode
view docs/man3/SDL_GetEventFilter.3 @ 3260:85bf3f297b5c
Kenneth Bull to SDL
I noticed in trunk/SDL/src/video/win32/SDL_win32events.c, in this code here...
... if the device handle isn't found in mice[], which it won't be if
the mouse was plugged in after SDL_Init, then you end up with an
uninitialized value in index, which is then passed to various
SDL_SendMouse* functions.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 07 Sep 2009 16:04:44 +0000 |
parents | 546f7c1eb755 |
children | 1238da4a7112 |
line wrap: on
line source
.TH "SDL_GetEventFilter" "3" "Tue 11 Sep 2001, 22:59" "SDL" "SDL API Reference" .SH "NAME" SDL_GetEventFilter \- Retrieves a pointer to he event filter .SH "SYNOPSIS" .PP \fB#include "SDL\&.h" .sp \fBSDL_EventFilter \fBSDL_GetEventFilter\fP\fR(\fBvoid\fR); .SH "DESCRIPTION" .PP This function retrieces a pointer to the event filter that was previously set using \fI\fBSDL_SetEventFilter\fP\fR\&. An SDL_EventFilter function is defined as: .PP .nf \f(CWtypedef int (*SDL_EventFilter)(const SDL_Event *event);\fR .fi .PP .SH "RETURN VALUE" .PP Returns a pointer to the event filter or \fBNULL\fP if no filter has been set\&. .SH "SEE ALSO" .PP \fI\fBSDL_Event\fR\fR, \fI\fBSDL_SetEventFilter\fP\fR ...\" created by instant / docbook-to-man, Tue 11 Sep 2001, 22:59