SDL mouse I/O wrapper module
Gets the relative mouse movement.
Gets the relative mouse movement since the last call to this function.
Gets the relative mouse state.
Gets the relative mouse state since the last call to this function.
Gets the current mouse state.
Gets the current mouse state. The returned buttons value represents a bitmask with the pressed buttons.
Sets the mouse cursor to be shown.
Sets the mouse cursor to be displayed. The change will be visible immediately.
Sets the position of the mouse cursor.
Sets the position of the mouse cursor on the main screen. This behaves exactly as the warp() method.
Toggles whether the cursor is shown on the screen.
Toggles whether the cursor is shown on the screen. This behaves exactly as the show_cursor() method.
Toggles whether the cursor is shown on the screen.
Toggles whether the cursor is shown on the screen. show can be a boolean or one a value of ENABLE, DISABLE and QUERY. QUERY will not change the visibility state but query, if the cursor is currently shown or not.
The state returned is a value of ENABLE and DISABLE, indicating, whether the cursor is currently shown or not.
Sets the position of the mouse cursor.
Sets the position of the mouse cursor on the main screen. This also will generate a mouse motion event.
Creates a new mouse cursor pointer.
Creates a new mouse cursor pointer from the specified pixel data and pixel mask. The mask is used for applying transparency to the data defining the mouse cursor.