Struct PointerEvent

Struct Documentation

struct PointerEvent

Represents a Pointer event sent by the windowing system. This structure is passed to the pointer-event callback of the TouchArea element.

Public Members

PointerEventButton button

The button that was pressed or released.

PointerEventKind kind

The kind of the event.

KeyboardModifiers modifiers

The keyboard modifiers pressed during the event.

int32_t touch_finger_id

The unique ID of the touch point, indicating the finger ID. 0 means it’s not a touch event (e.g., mouse).