Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface KeyEvent

Hierarchy

  • KeyEvent

Index

Properties

Properties

key

key: { alt: boolean; code: Keys; codeStr: "A" | "Add" | "B" | "Backslash" | "Backspace" | "C" | "Comma" | "D" | "Delete" | "Divide" | "Down" | "E" | "End" | "Enter" | "Equal" | "Escape" | "F" | "F1" | "F10" | "F11" | "F12" | "F13" | "F14" | "F15" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "G" | "H" | "Home" | "Hyphen" | "I" | "Insert" | "J" | "K" | "L" | "LAlt" | "LBracket" | "LControl" | "LShift" | "LSystem" | "Left" | "M" | "Menu" | "Multiply" | "N" | "Num0" | "Num1" | "Num2" | "Num3" | "Num4" | "Num5" | "Num6" | "Num7" | "Num8" | "Num9" | "Numpad0" | "Numpad1" | "Numpad2" | "Numpad3" | "Numpad4" | "Numpad5" | "Numpad6" | "Numpad7" | "Numpad8" | "Numpad9" | "O" | "P" | "PageDown" | "PageUp" | "Pause" | "Period" | "Q" | "Quote" | "R" | "RAlt" | "RBracket" | "RControl" | "RShift" | "RSystem" | "Right" | "S" | "Semicolon" | "Slash" | "Space" | "Subtract" | "T" | "Tab" | "Tilde" | "U" | "Unknown" | "Up" | "V" | "W" | "X" | "Y" | "Z"; control: boolean; shift: boolean; system: boolean }

Type declaration

  • alt: boolean
  • code: Keys
  • codeStr: "A" | "Add" | "B" | "Backslash" | "Backspace" | "C" | "Comma" | "D" | "Delete" | "Divide" | "Down" | "E" | "End" | "Enter" | "Equal" | "Escape" | "F" | "F1" | "F10" | "F11" | "F12" | "F13" | "F14" | "F15" | "F2" | "F3" | "F4" | "F5" | "F6" | "F7" | "F8" | "F9" | "G" | "H" | "Home" | "Hyphen" | "I" | "Insert" | "J" | "K" | "L" | "LAlt" | "LBracket" | "LControl" | "LShift" | "LSystem" | "Left" | "M" | "Menu" | "Multiply" | "N" | "Num0" | "Num1" | "Num2" | "Num3" | "Num4" | "Num5" | "Num6" | "Num7" | "Num8" | "Num9" | "Numpad0" | "Numpad1" | "Numpad2" | "Numpad3" | "Numpad4" | "Numpad5" | "Numpad6" | "Numpad7" | "Numpad8" | "Numpad9" | "O" | "P" | "PageDown" | "PageUp" | "Pause" | "Period" | "Q" | "Quote" | "R" | "RAlt" | "RBracket" | "RControl" | "RShift" | "RSystem" | "Right" | "S" | "Semicolon" | "Slash" | "Space" | "Subtract" | "T" | "Tab" | "Tilde" | "U" | "Unknown" | "Up" | "V" | "W" | "X" | "Y" | "Z"
  • control: boolean
  • shift: boolean
  • system: boolean

type

type: "KeyPressed" | "KeyReleased"

Generated using TypeDoc