Game Development Reference
In-Depth Information
Mouse related events
Enum value
Member associated
Description
Event::mouseMove
holds the new mouse posi-
tion
This event is triggered when the mouse changes its
position inside the window.
Event::MouseMoved
Event::mouseButton
holds the pressed/released
button and the mouse pos-
ition
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.
Event::MouseButtonPressed
Event::MouseButtonReleased
Event::mouseWheel
holds the delta ticks of the
wheel and the mouse posi-
tion
This event is triggered when the scroll wheel
moves inside a window.
Event::MouseWheelMoved
Search WWH ::




Custom Search