Holds SDL mouse state.
// Check if the left mouse button is pressed if(_sdl2.mouse.isButtonPressed(SDL_BUTTON_LMASK)) ...
Use this function to capture the mouse and to track input outside an SDL window.
Use this function to stop capturing the mouse.
Mouse cursor, can be created from custom bitmap or from system defaults.
Creates a cursor from a SDL surface.
The surface should outlive this cursor, its ownership will not be taken.
Creates a system cursor.