KeyEventType

public extension KeyEventType
  • Cast constructor, converting any binary integer to a KeyEventType.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • specifies a key press event

    Declaration

    Swift

    static let press: AtkKeyEventType
  • specifies a key release event

    Declaration

    Swift

    static let release: AtkKeyEventType
  • Not a valid value; specifies end of enumeration

    Declaration

    Swift

    static let lastDefined: AtkKeyEventType