Game Development Reference
Mouse related events
holds the new mouse posi-
This event is triggered when the mouse changes its
position inside the window.
holds the pressed/released
button and the mouse pos-
This event is triggered when a mouse button is
pressed inside a window. Five buttons are currently
supported—left, right, middle, extra button 1, and
extra button 2.
holds the delta ticks of the
wheel and the mouse posi-
This event is triggered when the scroll wheel
moves inside a window.