For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server-editor/enums/KeyboardKey.md.

Enumeration: KeyboardKey

Beta

Keyboard key

Enumeration Members

ALT

ALT: 18

Beta

Remarks

KeyboardEvent.DOM_VK_ALT


BACK_QUOTE

BACK_QUOTE: 192

Beta

Remarks

KeyboardEvent.DOM_VK_BACK_QUOTE, ie. '`'


BACK_SLASH

BACK_SLASH: 220

Beta

Remarks

KeyboardEvent.DOM_VK_BACK_SLASH, ie. ''


BACKSPACE

BACKSPACE: 8

Beta

Remarks

KeyboardEvent.DOM_VK_BACK_SPACE


BRACKET_CLOSE

BRACKET_CLOSE: 221

Beta

Remarks

KeyboardEvent.DOM_VK_CLOSE_BRACKET, ie. ']'


BRACKET_OPEN

BRACKET_OPEN: 219

Beta

Remarks

KeyboardEvent.DOM_VK_OPEN_BRACKET, ie. '['


CAPS_LOCK

CAPS_LOCK: 20

Beta

Remarks

KeyboardEvent.DOM_VK_CAPS_LOCK


COMMA

COMMA: 188

Beta

Remarks

KeyboardEvent.DOM_VK_COMMA, ie. ','


CONTEXT_MENU

CONTEXT_MENU: 93

Beta

Remarks

KeyboardEvent.DOM_VK_CONTEXT_MENU, ie. Context Menu key


CTRL

CTRL: 17

Beta

Remarks

KeyboardEvent.DOM_VK_CONTROL


DELETE

DELETE: 46

Beta

Remarks

KeyboardEvent.DOM_VK_DELETE


DOWN

DOWN: 40

Beta

Remarks

KeyboardEvent.DOM_VK_DOWN


END

END: 35

Beta

Remarks

KeyboardEvent.DOM_VK_END


ENTER

ENTER: 13

Beta

Remarks

KeyboardEvent.DOM_VK_RETURN


EQUALS

实验性

EQUALS: 187

Beta

Remarks

KeyboardEvent.DOM_VK_EQUALS, ie. '='


ESCAPE

ESCAPE: 27

Beta

Remarks

KeyboardEvent.DOM_VK_ESCAPE


F1

F1: 112

Beta

Remarks

KeyboardEvent.DOM_VK_F1


F10

F10: 121

Beta

Remarks

KeyboardEvent.DOM_VK_F10


F11

F11: 122

Beta

Remarks

KeyboardEvent.DOM_VK_F11


F12

F12: 123

Beta

Remarks

KeyboardEvent.DOM_VK_F12


F2

F2: 113

Beta

Remarks

KeyboardEvent.DOM_VK_F2


F3

F3: 114

Beta

Remarks

KeyboardEvent.DOM_VK_F3


F4

F4: 115

Beta

Remarks

KeyboardEvent.DOM_VK_F4


F5

F5: 116

Beta

Remarks

KeyboardEvent.DOM_VK_F5


F6

F6: 117

Beta

Remarks

KeyboardEvent.DOM_VK_F6


F7

F7: 118

Beta

Remarks

KeyboardEvent.DOM_VK_F7


F8

F8: 119

Beta

Remarks

KeyboardEvent.DOM_VK_F8


F9

F9: 120

Beta

Remarks

KeyboardEvent.DOM_VK_F9


HOME

HOME: 36

Beta

Remarks

KeyboardEvent.DOM_VK_HOME


HYPHEN

实验性

HYPHEN: 189

Beta

Remarks

KeyboardEvent.DOM_VK_HYPHEN, ie. '-'


INSERT

INSERT: 45

Beta

Remarks

KeyboardEvent.DOM_VK_INSERT


KEY_0

KEY_0: 48

Beta

Remarks

KeyboardEvent.DOM_VK_0


KEY_1

KEY_1: 49

Beta

Remarks

KeyboardEvent.DOM_VK_1


KEY_2

KEY_2: 50

Beta

Remarks

KeyboardEvent.DOM_VK_2


KEY_3

KEY_3: 51

Beta

Remarks

KeyboardEvent.DOM_VK_3


KEY_4

KEY_4: 52

Beta

Remarks

KeyboardEvent.DOM_VK_4


KEY_5

KEY_5: 53

Beta

Remarks

KeyboardEvent.DOM_VK_5


KEY_6

KEY_6: 54

Beta

Remarks

KeyboardEvent.DOM_VK_6


KEY_7

KEY_7: 55

Beta

Remarks

KeyboardEvent.DOM_VK_7


KEY_8

KEY_8: 56

Beta

Remarks

KeyboardEvent.DOM_VK_8


KEY_9

KEY_9: 57

Beta

Remarks

KeyboardEvent.DOM_VK_9


KEY_A

KEY_A: 65

Beta

Remarks

KeyboardEvent.DOM_VK_A


KEY_B

KEY_B: 66

Beta

Remarks

KeyboardEvent.DOM_VK_B


KEY_C

KEY_C: 67

Beta

Remarks

KeyboardEvent.DOM_VK_C


KEY_D

KEY_D: 68

Beta

Remarks

KeyboardEvent.DOM_VK_D


KEY_E

KEY_E: 69

Beta

Remarks

KeyboardEvent.DOM_VK_E


KEY_F

KEY_F: 70

Beta

Remarks

KeyboardEvent.DOM_VK_F


KEY_G

KEY_G: 71

Beta

Remarks

KeyboardEvent.DOM_VK_G


KEY_H

KEY_H: 72

Beta

Remarks

KeyboardEvent.DOM_VK_H


KEY_I

KEY_I: 73

Beta

Remarks

KeyboardEvent.DOM_VK_I


KEY_J

KEY_J: 74

Beta

Remarks

KeyboardEvent.DOM_VK_J


KEY_K

KEY_K: 75

Beta

Remarks

KeyboardEvent.DOM_VK_K


KEY_L

KEY_L: 76

Beta

Remarks

KeyboardEvent.DOM_VK_L


KEY_M

KEY_M: 77

Beta

Remarks

KeyboardEvent.DOM_VK_M


KEY_N

KEY_N: 78

Beta

Remarks

KeyboardEvent.DOM_VK_N


KEY_O

KEY_O: 79

Beta

Remarks

KeyboardEvent.DOM_VK_O


KEY_P

KEY_P: 80

Beta

Remarks

KeyboardEvent.DOM_VK_P


KEY_Q

KEY_Q: 81

Beta

Remarks

KeyboardEvent.DOM_VK_Q


KEY_R

KEY_R: 82

Beta

Remarks

KeyboardEvent.DOM_VK_R


KEY_S

KEY_S: 83

Beta

Remarks

KeyboardEvent.DOM_VK_S


KEY_T

KEY_T: 84

Beta

Remarks

KeyboardEvent.DOM_VK_T


KEY_U

KEY_U: 85

Beta

Remarks

KeyboardEvent.DOM_VK_U


KEY_V

KEY_V: 86

Beta

Remarks

KeyboardEvent.DOM_VK_V


KEY_W

KEY_W: 87

Beta

Remarks

KeyboardEvent.DOM_VK_W


KEY_X

KEY_X: 88

Beta

Remarks

KeyboardEvent.DOM_VK_X


KEY_Y

KEY_Y: 89

Beta

Remarks

KeyboardEvent.DOM_VK_Y


KEY_Z

KEY_Z: 90

Beta

Remarks

KeyboardEvent.DOM_VK_Z


LEFT

LEFT: 37

Beta

Remarks

KeyboardEvent.DOM_VK_LEFT


NUM_LOCK

NUM_LOCK: 144

Beta

Remarks

KeyboardEvent.DOM_VK_NUM_LOCK


NUMPAD_0

NUMPAD_0: 96

Beta

Remarks

KeyboardEvent.DOM_VK_NUMPAD0


NUMPAD_1

NUMPAD_1: 97

Beta

Remarks

KeyboardEvent.DOM_VK_NUMPAD1


NUMPAD_2

NUMPAD_2: 98

Beta

Remarks

KeyboardEvent.DOM_VK_NUMPAD2


NUMPAD_3

NUMPAD_3: 99

Beta

Remarks

KeyboardEvent.DOM_VK_NUMPAD3


NUMPAD_4

NUMPAD_4: 100

Beta

Remarks

KeyboardEvent.DOM_VK_NUMPAD4


NUMPAD_5

NUMPAD_5: 101

Beta

Remarks

KeyboardEvent.DOM_VK_NUMPAD5


NUMPAD_6

NUMPAD_6: 102

Beta

Remarks

KeyboardEvent.DOM_VK_NUMPAD6


NUMPAD_7

NUMPAD_7: 103

Beta

Remarks

KeyboardEvent.DOM_VK_NUMPAD7


NUMPAD_8

NUMPAD_8: 104

Beta

Remarks

KeyboardEvent.DOM_VK_NUMPAD8


NUMPAD_9

NUMPAD_9: 105

Beta

Remarks

KeyboardEvent.DOM_VK_NUMPAD9


NUMPAD_ADD

NUMPAD_ADD: 107

Beta

Remarks

KeyboardEvent.DOM_VK_ADD


NUMPAD_DECIMAL

NUMPAD_DECIMAL: 110

Beta

Remarks

KeyboardEvent.DOM_VK_DECIMAL


NUMPAD_DIVIDE

NUMPAD_DIVIDE: 111

Beta

Remarks

KeyboardEvent.DOM_VK_DIVIDE


NUMPAD_MULTIPLY

NUMPAD_MULTIPLY: 106

Beta

Remarks

KeyboardEvent.DOM_VK_MULTIPLY


NUMPAD_SEPARATOR

NUMPAD_SEPARATOR: 108

Beta

Remarks

KeyboardEvent.DOM_VK_SEPARATOR


NUMPAD_SUBTRACT

NUMPAD_SUBTRACT: 109

Beta

Remarks

KeyboardEvent.DOM_VK_SUBTRACT


PAGE_DOWN

PAGE_DOWN: 34

Beta

Remarks

KeyboardEvent.DOM_VK_PAGE_DOWN


PAGE_UP

PAGE_UP: 33

Beta

Remarks

KeyboardEvent.DOM_VK_PAGE_UP


PAUSE

实验性

PAUSE: 19

Beta

Remarks

KeyboardEvent.DOM_VK_PAUSE


PERIOD

PERIOD: 190

Beta

Remarks

KeyboardEvent.DOM_VK_PERIOD, ie. '.'


PRINT_SCREEN: 44

Beta

Remarks

KeyboardEvent.DOM_VK_PRINTSCREEN


QUOTE

QUOTE: 222

Beta

Remarks

KeyboardEvent.DOM_VK_BACK_QUOTE, ie. '"'


RIGHT: 39

Beta

Remarks

KeyboardEvent.DOM_VK_RIGHT


SCROLL_LOCK

SCROLL_LOCK: 145

Beta

Remarks

KeyboardEvent.DOM_VK_SCROLL_LOCK


SEMICOLON

实验性

SEMICOLON: 186

Beta

Remarks

KeyboardEvent.DOM_VK_SEMICOLON, ie. ';'


SHIFT

SHIFT: 16

Beta

Remarks

KeyboardEvent.DOM_VK_SHIFT


SLASH

SLASH: 191

Beta

Remarks

KeyboardEvent.DOM_VK_SLASH, ie. '/'


SPACE

SPACE: 32

Beta

Remarks

KeyboardEvent.DOM_VK_SPACE


TAB

TAB: 9

Beta

Remarks

KeyboardEvent.DOM_VK_TAB


UNDEFINED

实验性

UNDEFINED: 0

Beta


UP

UP: 38

Beta

Remarks

KeyboardEvent.DOM_VK_UP


WINDOWS_LEFT

WINDOWS_LEFT: 91

Beta

Remarks

KeyboardEvent.Meta_LEFT, ie. Left Windows key


WINDOWS_RIGHT

WINDOWS_RIGHT: 92

Beta

Remarks

KeyboardEvent.Meta_RIGHT, ie. Right Windows key