Type alias KeyboardKeyType

KeyboardKeyType: "character" | "escape" | "delete" | "tab" | "return" | "space" | "leftArrow" | "rightArrow" | "downArrow" | "upArrow" | "deleteForward" | "home" | "end" | "pageUp" | "pageDown" | "clear" | "f1" | "f2" | "f3" | "f4" | "f5" | "f6" | "f7" | "f8" | "f9" | "f10" | "f11" | "f12" | "f13" | "f14" | "f15" | "f16" | "f17" | "f18" | "f19"

Type of a keyboard key.

Helps make the distinction between a regular character key (like A, 1, /, etc) and special keys (like escape, space, arrow keys, etc) without having to know exact keycodes or unicode characters.

  • note: Does not include modifier keys (like shift, option, command, etc) since those are supposed to be pressed together they're represented as InputModifier.

Generated using TypeDoc