Skip to content

Enumeration: KeyCode

Represents a unique identifier corresponding to a keyboard button. see KeyboardEvent.keyCode

Enumeration Members

Enumeration Members

Key_BackSpace

Key_BackSpace = 8

Defined in

src/event/KeyCode.ts:6


Key_Tab

Key_Tab = 9

Defined in

src/event/KeyCode.ts:7


Key_Clear

Key_Clear = 12

Defined in

src/event/KeyCode.ts:8


Key_Enter

Key_Enter = 13

Defined in

src/event/KeyCode.ts:9


Key_Shift_L

Key_Shift_L = 16

Defined in

src/event/KeyCode.ts:10


Key_Control_L

Key_Control_L = 17

Defined in

src/event/KeyCode.ts:11


Key_Alt_L

Key_Alt_L = 18

Defined in

src/event/KeyCode.ts:12


Key_Pause

Key_Pause = 19

Defined in

src/event/KeyCode.ts:13


Key_CapsLock

Key_CapsLock = 20

Defined in

src/event/KeyCode.ts:14


Key_Escape

Key_Escape = 21

Defined in

src/event/KeyCode.ts:15


Key_Esc

Key_Esc = 27

Defined in

src/event/KeyCode.ts:16


Key_Space

Key_Space = 32

Defined in

src/event/KeyCode.ts:17


Key_Prior

Key_Prior = 33

Defined in

src/event/KeyCode.ts:18


Key_Next

Key_Next = 34

Defined in

src/event/KeyCode.ts:19


Key_End

Key_End = 35

Defined in

src/event/KeyCode.ts:20


Key_Home

Key_Home = 36

Defined in

src/event/KeyCode.ts:21


Key_Left

Key_Left = 37

Defined in

src/event/KeyCode.ts:22


Key_Up

Key_Up = 38

Defined in

src/event/KeyCode.ts:23


Key_Right

Key_Right = 39

Defined in

src/event/KeyCode.ts:24


Key_Down

Key_Down = 40

Defined in

src/event/KeyCode.ts:25


Key_Select

Key_Select = 41

Defined in

src/event/KeyCode.ts:26


Key_Print

Key_Print = 42

Defined in

src/event/KeyCode.ts:27


Key_Execute

Key_Execute = 43

Defined in

src/event/KeyCode.ts:28


Key_Insert

Key_Insert = 45

Defined in

src/event/KeyCode.ts:29


Key_Delete

Key_Delete = 46

Defined in

src/event/KeyCode.ts:30


Key_Help

Key_Help = 47

Defined in

src/event/KeyCode.ts:31


Key_0

Key_0 = 48

Defined in

src/event/KeyCode.ts:32


Key_1

Key_1 = 49

Defined in

src/event/KeyCode.ts:33


Key_2

Key_2 = 50

Defined in

src/event/KeyCode.ts:34


Key_3

Key_3 = 51

Defined in

src/event/KeyCode.ts:35


Key_4

Key_4 = 52

Defined in

src/event/KeyCode.ts:36


Key_5

Key_5 = 53

Defined in

src/event/KeyCode.ts:37


Key_6

Key_6 = 54

Defined in

src/event/KeyCode.ts:38


Key_7

Key_7 = 55

Defined in

src/event/KeyCode.ts:39


Key_8

Key_8 = 56

Defined in

src/event/KeyCode.ts:40


Key_9

Key_9 = 57

Defined in

src/event/KeyCode.ts:41


Key_A

Key_A = 65

Defined in

src/event/KeyCode.ts:43


Key_B

Key_B = 66

Defined in

src/event/KeyCode.ts:44


Key_C

Key_C = 67

Defined in

src/event/KeyCode.ts:45


Key_D

Key_D = 68

Defined in

src/event/KeyCode.ts:46


Key_E

Key_E = 69

Defined in

src/event/KeyCode.ts:47


Key_F

Key_F = 70

Defined in

src/event/KeyCode.ts:48


Key_G

Key_G = 71

Defined in

src/event/KeyCode.ts:49


Key_H

Key_H = 72

Defined in

src/event/KeyCode.ts:50


Key_I

Key_I = 73

Defined in

src/event/KeyCode.ts:51


Key_J

Key_J = 74

Defined in

src/event/KeyCode.ts:52


Key_K

Key_K = 75

Defined in

src/event/KeyCode.ts:53


Key_L

Key_L = 76

Defined in

src/event/KeyCode.ts:54


Key_M

Key_M = 77

Defined in

src/event/KeyCode.ts:55


Key_N

Key_N = 78

Defined in

src/event/KeyCode.ts:56


Key_O

Key_O = 79

Defined in

src/event/KeyCode.ts:57


Key_P

Key_P = 80

Defined in

src/event/KeyCode.ts:58


Key_Q

Key_Q = 81

Defined in

src/event/KeyCode.ts:59


Key_R

Key_R = 82

Defined in

src/event/KeyCode.ts:60


Key_S

Key_S = 83

Defined in

src/event/KeyCode.ts:61


Key_T

Key_T = 84

Defined in

src/event/KeyCode.ts:62


Key_U

Key_U = 85

Defined in

src/event/KeyCode.ts:63


Key_V

Key_V = 86

Defined in

src/event/KeyCode.ts:64


Key_W

Key_W = 87

Defined in

src/event/KeyCode.ts:65


Key_X

Key_X = 88

Defined in

src/event/KeyCode.ts:66


Key_Y

Key_Y = 89

Defined in

src/event/KeyCode.ts:67


Key_Z

Key_Z = 90

Defined in

src/event/KeyCode.ts:68


Key_KP_0

Key_KP_0 = 96

Defined in

src/event/KeyCode.ts:69


Key_KP_1

Key_KP_1 = 97

Defined in

src/event/KeyCode.ts:70


Key_KP_2

Key_KP_2 = 98

Defined in

src/event/KeyCode.ts:71


Key_KP_3

Key_KP_3 = 99

Defined in

src/event/KeyCode.ts:72


Key_KP_4

Key_KP_4 = 100

Defined in

src/event/KeyCode.ts:73


Key_KP_5

Key_KP_5 = 101

Defined in

src/event/KeyCode.ts:74


Key_KP_6

Key_KP_6 = 102

Defined in

src/event/KeyCode.ts:75


Key_KP_7

Key_KP_7 = 103

Defined in

src/event/KeyCode.ts:76


Key_KP_8

Key_KP_8 = 104

Defined in

src/event/KeyCode.ts:77


Key_KP_9

Key_KP_9 = 105

Defined in

src/event/KeyCode.ts:78


Key_Multiply

Key_Multiply = 106

Defined in

src/event/KeyCode.ts:79


Key_Add

Key_Add = 107

Defined in

src/event/KeyCode.ts:80


Key_Separator

Key_Separator = 108

Defined in

src/event/KeyCode.ts:81


Key_Subtract

Key_Subtract = 109

Defined in

src/event/KeyCode.ts:82


Key_Decimal

Key_Decimal = 110

Defined in

src/event/KeyCode.ts:83


Key_Divide

Key_Divide = 111

Defined in

src/event/KeyCode.ts:84


Key_F1

Key_F1 = 112

Defined in

src/event/KeyCode.ts:85


Key_F2

Key_F2 = 113

Defined in

src/event/KeyCode.ts:86


Key_F3

Key_F3 = 114

Defined in

src/event/KeyCode.ts:87


Key_F4

Key_F4 = 115

Defined in

src/event/KeyCode.ts:88


Key_F5

Key_F5 = 116

Defined in

src/event/KeyCode.ts:89


Key_F6

Key_F6 = 117

Defined in

src/event/KeyCode.ts:90


Key_F7

Key_F7 = 118

Defined in

src/event/KeyCode.ts:91


Key_F8

Key_F8 = 119

Defined in

src/event/KeyCode.ts:92


Key_F9

Key_F9 = 120

Defined in

src/event/KeyCode.ts:93


Key_F10

Key_F10 = 121

Defined in

src/event/KeyCode.ts:94


Key_F11

Key_F11 = 122

Defined in

src/event/KeyCode.ts:95


Key_F12

Key_F12 = 123

Defined in

src/event/KeyCode.ts:96


Key_F13

Key_F13 = 124

Defined in

src/event/KeyCode.ts:97


Key_F14

Key_F14 = 125

Defined in

src/event/KeyCode.ts:98


Key_F15

Key_F15 = 126

Defined in

src/event/KeyCode.ts:99


Key_F16

Key_F16 = 127

Defined in

src/event/KeyCode.ts:100


Key_F17

Key_F17 = 128

Defined in

src/event/KeyCode.ts:101


Key_F18

Key_F18 = 129

Defined in

src/event/KeyCode.ts:102


Key_F19

Key_F19 = 130

Defined in

src/event/KeyCode.ts:103


Key_F20

Key_F20 = 131

Defined in

src/event/KeyCode.ts:104


Key_F21

Key_F21 = 132

Defined in

src/event/KeyCode.ts:105


Key_F22

Key_F22 = 133

Defined in

src/event/KeyCode.ts:106


Key_F23

Key_F23 = 134

Defined in

src/event/KeyCode.ts:107


Key_F24

Key_F24 = 135

Defined in

src/event/KeyCode.ts:108


Key_Num_Lock

Key_Num_Lock = 136

Defined in

src/event/KeyCode.ts:110


Key_Scroll_Lock

Key_Scroll_Lock = 137

Defined in

src/event/KeyCode.ts:111