Event

Generic input event type.

TypeObject

Class properties

Integer maskShift

Modifier for Shift key.

Integer maskContrl

Modifier for Control key.

Integer maskAlt

Modifier for Alt key.

Integer maskMeta

Modifier for Win or Command key.

Properties

EventType type

The type of the event.

Integer modifiers

A bit array of keyboard modifiers of the event.

Integer timestamp

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