Skip to content

KeyCode


描述

键盘输入的值类型


枚举

KeyCode
描述
Unknown
未知输入
Backspace
Backspace
Tab
Tab
Clear
Clear
Return
Return
Pause
Pause
Escape
Escape
Space
Space
QuotedDouble
QuotedDouble
Hash
Hash
Dollar
Dollar
Percent
Percent
Ampersand
Ampersand
Quote
Quote
LeftParenthesis
LeftParenthesis
RightParenthesis
RightParenthesis
Asterisk
Asterisk
Plus
Plus
Comma
Comma
Minus
Minus
Period
Period
Slash
Slash
Zero
Zero
One
One
Two
Two
Three
Three
Four
Four
Five
Five
Six
Six
Seven
Seven
Eight
Eight
Nine
Nine
Colon
Colon
Semicolon
Semicolon
LessThan
LessThan
Equals
Equals
GreaterThan
GreaterThan
Question
Question
At
At
LeftBracket
LeftBracket
BackSlash
BackSlash
RightBracket
RightBracket
Caret
Caret
Underscore
Underscore
Backquote
Backquote
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
LeftCurly
Pipe
RightCurly
Tilde
Delete
KeypadZero
KeypadOne
KeypadTwo
KeypadThree
KeypadFour
KeypadFive
KeypadSix
KeypadSeven
KeypadEight
KeypadNine
KeypadPeriod
KeypadDivide
KeypadMultiply
KeypadMinus
KeypadPlus
KeypadEnter
KeypadEquals
Up
Down
Right
Left
Insert
Home
End
PageUp
PageDown
LeftShift
RightShift
LeftMeta
RightMeta
LeftAlt
RightAlt
LeftControl
RightControl
CapsLock
NumLock
ScrollLock
LeftSuper
RightSuper
Mode
Compose
Help
Print
SysReq
Break
Menu
Power
Euro
Undo
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12
F13
F14
F15
World0
World1
World2
World3
World4
World5
World6
World7
World8
World9
World10
World11
World12
World13
World14
World15
World16
World17
World18
World19
World20
World21
World22
World23
World24
World25
World26
World27
World28
World29
World30
World31
World32
World33
World34
World35
World36
World37
World38
World39
World40
World41
World42
World43
World44
World45
World46
World47
World48
World49
World50
World51
World52
World53
World54
World55
World56
World57
World58
World59
World60
World61
World62
World63
World64
World65
World66
World67
World68
World69
World70
World71
World72
World73
World74
World75
World76
World77
World78
World79
World80
World81
World82
World83
World84
World85
World86
World87
World88
World89
World90
World91
World92
World93
World94
World95
ButtonX
ButtonY
ButtonA
ButtonB
ButtonR1
ButtonL1
ButtonR2
ButtonL2
ButtonR3
ButtonL3
ButtonStart
ButtonSelect
DPadLeft
DPadRight
DPadUp
DPadDown
Thumbstick1
Thumbstick2