Event

Generic input event type.

Header#include "nativeui/events/event.h"
Namespacenamespace nu
Typestruct

Properties

EventType type

The type of the event.

int modifiers

A bit array of keyboard modifiers of the event.

Available modifiers can be found in KeyboardModifier.

uint32_t timestamp

Time when event was created, starts from when machine was booted.

NativeEvent native_event

The underlying native event.