KeyboardModifier

public struct KeyboardModifier : OptionSet

Undocumented

  • Declaration

    Swift

    public var rawValue: Int
  • Declaration

    Swift

    public init(rawValue: Int)
  • Undocumented

    Declaration

    Swift

    public static let none: KeyboardModifier
  • Undocumented

    Declaration

    Swift

    public static let shift: KeyboardModifier
  • Undocumented

    Declaration

    Swift

    public static let control: KeyboardModifier
  • alt

    Undocumented

    Declaration

    Swift

    public static let alt: KeyboardModifier
  • Note: Only available on macOS

    Declaration

    Swift

    public static let command: KeyboardModifier
  • Note: Only available on macOS

    Declaration

    Swift

    public static let option: KeyboardModifier
  • Note: Only available on macOS

    Declaration

    Swift

    public static let numericPad: KeyboardModifier
  • OS-equivalent to ‘control’, for keyboard modifiers. On macOS, this property is the same as command, and on windows and Linux, control.

    Declaration

    Swift

    static let osControlKey: KeyboardModifier
  • OS-equivalent to ‘control’, for keyboard modifiers. On macOS, this property is the same as command, and on windows and Linux, control.