getMouseState()
getRelativeMouseState()
warpMouse(X, Y)
createCursor(Data, Mask, W, H, HotX, HotY)
setCursor({cursorp,Ref})
getCursor()
freeCursor({cursorp,Ref})
showCursor(Bool) Args: none
Returns: {MouseState, X, Y}
C-API: Uint8 SDL_GetMouseState(int *x, int *y);
Args: none
Returns: {MouseState, X, Y}
C-API: Uint8 SDL_GetRelativeMouseState(int *x, int *y);
Args: X, Y
Returns: ok
C-API: void SDL_WarpMouse(Uint16 x, Uint16 y);
Args: Data (Binary), Mask(Binary), W, H, HotX, HotY
Returns: CursorRef
C-API: SDL_Cursor *SDL_CreateCursor (Uint8 *data, Uint8 *mask, int w, int h, int hot_x, int hot_y);
Desc:
Data & Mask must be less than 32*32 bytes.
Args: CursorRef
Returns: ok
C-API: void SDL_SetCursor(SDL_Cursor *cursor);
Args: none
Returns: A cursorRef
C-API: void SDL_SetCursor(SDL_Cursor *cursor);
Args: CursorRef
Returns: ok
C-API: void SDL_FreeCursor(SDL_Cursor *cursor);
Args: true | false
Returns: true | false (if cursor was displayed before the call)
C-API: int SDL_ShowCursor(int toggle);