Structure

NSEventModifierFlags

No overview available.

Symbols

Type Properties

let NSAlphaShiftKeyMask: NSEventModifierFlags

Set if Caps Lock key is pressed.

Deprecated
let NSAlternateKeyMask: NSEventModifierFlags

Set if Option or Alternate key is pressed.

Deprecated
let NSCommandKeyMask: NSEventModifierFlags

Set if Command key is pressed.

Deprecated
let NSControlKeyMask: NSEventModifierFlags

Set if Control key is pressed.

Deprecated
let NSDeviceIndependentModifierFlagsMask: NSEventModifierFlags

Used to retrieve only the device-independent modifier flags, allowing applications to mask off the device-dependent modifier flags, including event coalescing information.

Deprecated
let NSHelpKeyMask: NSEventModifierFlags

Set if the Help key is pressed.

Deprecated
let NSNumericPadKeyMask: NSEventModifierFlags

Set if any key in the numeric keypad is pressed. The numeric keypad is generally on the right side of the keyboard. This is also set if any of the arrow keys are pressed (NSUpArrowFunctionKey, NSDownArrowFunctionKey, NSLeftArrowFunctionKey, and NSRightArrowFunctionKey).

Deprecated
let NSShiftKeyMask: NSEventModifierFlags

Set if Shift key is pressed.

Deprecated

Relationships

Conforms To