Subtypes for various types of events.


enum EventSubtype : Int16

See Also

Getting the Event Type

var type: NSEvent.EventType

The event’s type.

enum NSEvent.EventType

The types of events handled by responder objects.

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 you use to filter out specific event types from the stream of incoming events.