Enumeration

NSEvent.EventSubtype

Subtypes for various types of events.

Declaration

enum EventSubtype : Int16

See Also

Getting the Event Type

var type: NSEvent.EventType

The event’s type.

enum NSEvent.EventType

Various types of events.

var subtype: NSEvent.EventSubtype

The event’s subtype.

var modifierFlags: NSEvent.ModifierFlags

An integer bit field indicating the event’s modifier keys.

struct NSEvent.EventTypeMask

Constants that are masks for the events defined in NSEvent.EventType.