carb::input::MouseEvent
Defined in carb/input/InputTypes.h
-
struct MouseEvent
Defines the mouse event.
normalizedCoords - mouse coordinates only active in move events, normalized to [0.0, 1.0] relative to the associated window size. unscaledCoords - mouse coordinates only active in move events, not normalized. scrollDelta - scroll delta, only active in scroll events.
Public Members
-
InputDevice *device
The InputDevice handle that is sending this event.
-
union carb::input::MouseEvent::[anonymous] [anonymous]
-
MouseEventType type
The MouseEventType of this event.
-
union carb::input::MouseEvent::[anonymous] [anonymous]
-
KeyboardModifierFlags modifiers
The KeyboardModifierFlags flags bitwise-or’d.
-
InputDevice *device