comp • gb.sdl2 • mouse

Mouse (gb.sdl2)

This static class returns information about a mouse event.

This class is static.

Static properties

Static methods
Return the state of the mouse buttons.
Button  
Return if the left button has been pressed or released (during a MouseUp event).
Left  
Return if the middle button has been pressed or released (during a MouseUp event).
Middle  
Return or set if the mouse runs in "relative" mode.
Relative  
Return if the right button has been pressed or released (during a MouseUp event).
Right  
Return the mouse cursor left position at the beginning of the last mousedown ? event.
StartX  
Return the mouse cursor top position at the beginning of the last MouseDown event.
StartY  
Return or set if the mouse cursor is visible.
Visible  
Return the mouse wheel horizontal move during a MouseWheel event.
WheelX  
Return the mouse wheel vertical move during a MouseWheel event.
WheelY  
Return the mouse cursor left position.
X  
Return the mouse cursor top position.
Y  
Hide the mouse cursor.
Hide  
Show the mouse cursor.
Show