69 std::map<MouseButton, MouseButtonState>
buttons;
Represents a point in 2D space.
Definition point.h:6
MouseDirection
Represents the primary directions of mouse wheel movement.
Definition mouse_state.h:14
@ none
No scroll detected (this frame).
@ up
Scroll wheel moved upward (away from the user).
@ down
Scroll wheel moved downward (toward the user).
@ right
Scroll wheel moved rightward.
@ left
Scroll wheel moved leftward.
Aggregates all mouse-related state information.
Definition mouse_state.h:61
float delta_y
Definition mouse_state.h:67
std::map< MouseButton, MouseButtonState > buttons
Definition mouse_state.h:69
Point position
Definition mouse_state.h:63
MouseWheelState wheel
Definition mouse_state.h:70
float delta_x
Definition mouse_state.h:66
Represents per-frame scroll state of the mouse wheel.
Definition mouse_state.h:42
float x_scroll
Accumulated horizontal scroll position.
Definition mouse_state.h:43
float x_delta
Horizontal scroll change this frame.
Definition mouse_state.h:46
float y_scroll
Accumulated vertical scroll position.
Definition mouse_state.h:44
float y_delta
Vertical scroll change this frame.
Definition mouse_state.h:47
MouseDirection last_scroll_direction
Definition mouse_state.h:49