Include File(s): SDL_mouse.h
This category contains functions for handling inputs from mice and other similar pointing devices, as well as some cursor management tasks.
Please note that this ONLY discusses "mice" with the notion of the desktop GUI. You (usually) have one system cursor, and the OS hides the hardware details from you. If you plug in 10 mice, all ten move that one cursor. For many applications and games this is perfect, and this API has served hundreds of SDL programs well since its birth.
<>
- SDL_CaptureMouse
- SDL_CreateColorCursor
- SDL_CreateCursor
- SDL_CreateSystemCursor
- SDL_FreeCursor
- SDL_GetCursor
- SDL_GetDefaultCursor
- SDL_GetGlobalMouseState
- SDL_GetMouseFocus
- SDL_GetMouseState
- SDL_GetRelativeMouseMode
- SDL_GetRelativeMouseState
- SDL_SetCursor
- SDL_SetRelativeMouseMode
- SDL_ShowCursor
- SDL_WarpMouseGlobal
- SDL_WarpMouseInWindow
CategoryCategory