comparison src/events/SDL_mouse_c.h @ 3776:a9c2a7071874 gsoc2008_manymouse

upgraded functions
author Szymon Wilczek <kazeuser@gmail.com>
date Wed, 06 Aug 2008 08:48:43 +0000
parents 8b5b67000dc0
children
comparison
equal deleted inserted replaced
3775:e5011833348a 3776:a9c2a7071874
106 106
107 /* Clear the button state of a mouse at an index */ 107 /* Clear the button state of a mouse at an index */
108 extern void SDL_ResetMouse(int index); 108 extern void SDL_ResetMouse(int index);
109 109
110 /* Set the mouse focus window */ 110 /* Set the mouse focus window */
111 extern void SDL_SetMouseFocus(int index, SDL_WindowID windowID); 111 extern void SDL_SetMouseFocus(int id, SDL_WindowID windowID);
112 112
113 /* Send a mouse motion event for a mouse at an index */ 113 /* Send a mouse motion event for a mouse at an index */
114 extern int SDL_SendMouseMotion(int index, int relative, int x, int y, int z); 114 extern int SDL_SendMouseMotion(int id, int relative, int x, int y, int z);
115 115
116 /* Send a mouse button event for a mouse at an index */ 116 /* Send a mouse button event for a mouse at an index */
117 extern int SDL_SendMouseButton(int index, Uint8 state, Uint8 button); 117 extern int SDL_SendMouseButton(int id, Uint8 state, Uint8 button);
118 118
119 /* Send a mouse wheel event for a mouse at an index */ 119 /* Send a mouse wheel event for a mouse at an index */
120 extern int SDL_SendMouseWheel(int index, int x, int y); 120 extern int SDL_SendMouseWheel(int id, int x, int y);
121 121
122 /* Shutdown the mouse subsystem */ 122 /* Shutdown the mouse subsystem */
123 extern void SDL_MouseQuit(void); 123 extern void SDL_MouseQuit(void);
124 124
125 extern int SDL_GetIndexById(int id); 125 extern int SDL_GetIndexById(int id);