Mercurial > sdl-ios-xcode
comparison src/events/SDL_mouse_c.h @ 2727:76c2fc9696ea
Fixed crash when tablet isn't detected properly
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 26 Aug 2008 07:34:23 +0000 |
parents | c4e697245676 |
children | f7872b7a8732 |
comparison
equal
deleted
inserted
replaced
2726:f23ebf1ddac4 | 2727:76c2fc9696ea |
---|---|
110 extern void SDL_ResetMouse(int index); | 110 extern void SDL_ResetMouse(int index); |
111 | 111 |
112 /* Set the mouse focus window */ | 112 /* Set the mouse focus window */ |
113 extern void SDL_SetMouseFocus(int id, SDL_WindowID windowID); | 113 extern void SDL_SetMouseFocus(int id, SDL_WindowID windowID); |
114 | 114 |
115 /* Send a mouse motion event for a mouse at an index */ | 115 /* Send a mouse motion event for a mouse */ |
116 extern int SDL_SendMouseMotion(int id, int relative, int x, int y, int z); | 116 extern int SDL_SendMouseMotion(int id, int relative, int x, int y, int z); |
117 | 117 |
118 /* Send a mouse button event for a mouse at an index */ | 118 /* Send a mouse button event for a mouse */ |
119 extern int SDL_SendMouseButton(int id, Uint8 state, Uint8 button); | 119 extern int SDL_SendMouseButton(int id, Uint8 state, Uint8 button); |
120 | 120 |
121 /* Send a mouse wheel event for a mouse at an index */ | 121 /* Send a mouse wheel event for a mouse */ |
122 extern int SDL_SendMouseWheel(int id, int x, int y); | 122 extern int SDL_SendMouseWheel(int id, int x, int y); |
123 | |
124 /* Send a proximity event for a mouse */ | |
125 extern int SDL_SendProximity(int id, int x, int y, int type); | |
123 | 126 |
124 /* Shutdown the mouse subsystem */ | 127 /* Shutdown the mouse subsystem */ |
125 extern void SDL_MouseQuit(void); | 128 extern void SDL_MouseQuit(void); |
126 | 129 |
127 /* FIXME: Where do these functions go in this header? */ | 130 /* FIXME: Where do these functions go in this header? */ |