KeyboardEventType
public enum KeyboardEventType
Specifies the type of a keyboard event represented by a KeyboardEventRequest.
-
A key down event type.
Declaration
Swift
case keyDown -
A key press event type. Key presses are associated with textual-type character input instead of raw key codes.
Declaration
Swift
case keyPress -
A key up event type.
Declaration
Swift
case keyUp -
A preview key down event type. Preview keys may only be available on some OS platforms.
Declaration
Swift
case previewKeyDown