Module fermium::mouse [−][src]
Expand description
Mouse control and interaction.
Structs
An opaque cursor value.
Scroll direction types for the Scroll event
Used with SDL_CreateSystemCursor
Constants
Individual value for the left button.
Mask for the left button.
Individual value for the middle button (mouse wheel).
Mask for the middle button (mouse wheel).
Individual value for the right button.
Mask for the right button.
Individual value for the extra button 1.
Mask for the extra button 1.
Individual value for the extra button 2.
Mask for the extra button 2.
The scroll direction is flipped / natural
The scroll direction is normal
Used for array size purposes and such.
Crosshair
I-beam
Slashed circle or crossbones
Four pointed arrow pointing north, south, east, and west
Double arrow pointing northeast and southwest
Double arrow pointing north and south
Double arrow pointing northwest and southeast
Double arrow pointing west and east
Small wait cursor (or Wait if not available)
Functions
Used as a mask when testing buttons in buttonstate
.
Capture the mouse, to track input outside an SDL window.
Create a color cursor.
Create a cursor, using the specified bitmap data and mask (in MSB format).
Create a system cursor.
Frees a cursor created with SDL_CreateCursor
or similar functions.
Return the active cursor.
Return the default cursor.
Get the current state of the mouse, in relation to the desktop.
Get the window which currently has mouse focus.
Retrieve the current state of the mouse.
Query whether relative mouse mode is enabled.
Retrieve the relative state of the mouse.
Set the active cursor.
Set relative mouse mode.
Toggle whether or not the cursor is shown.
Moves the mouse to the given position in global screen space.
Moves the mouse to the given position within the window.