C4 Engine
C4 Engine API Documentation

struct MouseEventData

Defined in:  C4Types.h
The MouseEventData structure contains information about a mouse event.
Definition

struct MouseEventData

Data Members
EventType       eventType; The type of mouse event.
uint32          eventFlags; The mouse event flags for the event.
Point2D         mousePosition; The mouse position associated with the event.
Vector2D        wheelDelta; The wheel delta for kEventMouseWheel events.
Description
The MouseEventData structure contains the event type, mouse position, and special flags for a mouse event. The eventFlags field can be a combination (through logical OR) of the following constants.
kMouseDoubleClick The mouse down event is the second click in a double-click.
See Also

KeyboardEventData