A key enum is used to represent the many different keys a keyboard may have. Most of these keys are from an American keyboard.
Possible Values
Value | Description | Numeric Value |
---|---|---|
None | Null key | 0 |
Backspace | Backspace Key on the keyboard | 8 |
Tab | Tab Key on the keyboard | 9 |
Clear | Clear Key on the keyboard | 12 |
Return | Return Key on the keyboard | 13 |
Pause | Pause Key on the keyboard | 19 |
Escape | Escape Key on the keyboard | 27 |
Space | Space Key on the keyboard | 32 |
Exclaim | Exclaim Key on the keyboard | 33 |
DoubleQuote | DoubleQuote Key on the keyboard | 34 |
Hash | Hash Key on the keyboard | 35 |
Dollar | Dollar Key on the keyboard | 36 |
Ampersand | Ampersand Key on the keyboard | 38 |
Quote | Quote Key on the keyboard | 39 |
LeftParenthesis | LeftParenthesis Key on the keyboard | 40 |
RightParenthesis | RightParenthesis Key on the keyboard | 41 |
Asterisk | Asterisk Key on the keyboard | 42 |
Plus | Plus Key on the keyboard | 43 |
Comma | Comma Key on the keyboard | 44 |
Minus | Minus Key on the keyboard | 45 |
Period | Period Key on the keyboard | 46 |
Slash | Slash Key on the keyboard | 47 |
Alpha0 | Alpha0 Key on the keyboard | 48 |
Alpha1 | Alpha1 Key on the keyboard | 49 |
Alpha2 | Alpha2 Key on the keyboard | 50 |
Alpha3 | Alpha3 Key on the keyboard | 51 |
Alpha4 | Alpha4 Key on the keyboard | 52 |
Alpha5 | Alpha5 Key on the keyboard | 53 |
Alpha6 | Alpha6 Key on the keyboard | 54 |
Alpha7 | Alpha7 Key on the keyboard | 55 |
Alpha8 | Alpha8 Key on the keyboard | 56 |
Alpha9 | Alpha9 Key on the keyboard | 57 |
Colon | Colon Key on the keyboard | 58 |
Semicolon | Semicolon Key on the keyboard | 59 |
Less | Less Key on the keyboard | 60 |
Equals | Equals Key on the keyboard | 61 |
Greater | Greater Key on the keyboard | 62 |
Question | Question Key on the keyboard | 63 |
At | At Key on the keyboard | 64 |
VerticalBar | VerticalBar Key on the keyboard | 65 |
LeftBracket | LeftBracket Key on the keyboard | 91 |
Backslash | Backslash Key on the keyboard | 92 |
RightBracket | RightBracket Key on the keyboard | 93 |
Caret | Caret Key on the keyboard | 94 |
Underscore | Underscore Key on the keyboard | 95 |
BackQuote | BackQuote Key on the keyboard | 96 |
A | A Key on the keyboard | 97 |
B | B Key on the keyboard | 98 |
C | C Key on the keyboard | 99 |
D | D Key on the keyboard | 100 |
E | E Key on the keyboard | 101 |
F | F Key on the keyboard | 102 |
G | G Key on the keyboard | 103 |
H | H Key on the keyboard | 104 |
I | I Key on the keyboard | 105 |
J | J Key on the keyboard | 106 |
K | K Key on the keyboard | 107 |
L | L Key on the keyboard | 108 |
M | M Key on the keyboard | 109 |
N | N Key on the keyboard | 110 |
O | O Key on the keyboard | 111 |
P | P Key on the keyboard | 112 |
Q | Q Key on the keyboard | 113 |
R | R Key on the keyboard | 114 |
S | S Key on the keyboard | 115 |
T | T Key on the keyboard | 116 |
U | U Key on the keyboard | 117 |
V | V Key on the keyboard | 118 |
W | W Key on the keyboard | 119 |
X | X Key on the keyboard | 120 |
Y | Y Key on the keyboard | 121 |
Z | Z Key on the keyboard | 122 |
Percent | Percent Key on the keyboard | 123 |
Tilde | Tilde Key on the keyboard | 124 |
LeftBrace | LeftBrace Key on the keyboard | 125 |
RightBrace | RightBrace Key on the keyboard | 126 |
Delete | Delete Key on the keyboard | 127 |
Keypad0 | Keypad0 Key on the keyboard | 256 |
Keypad1 | Keypad1 Key on the keyboard | 257 |
Keypad2 | Keypad2 Key on the keyboard | 258 |
Keypad3 | Keypad3 Key on the keyboard | 259 |
Keypad4 | Keypad4 Key on the keyboard | 260 |
Keypad5 | Keypad5 Key on the keyboard | 261 |
Keypad6 | Keypad6 Key on the keyboard | 262 |
Keypad7 | Keypad7 Key on the keyboard | 263 |
Keypad8 | Keypad8 Key on the keyboard | 264 |
Keypad9 | Keypad9 Key on the keyboard | 265 |
KeypadPeriod | KeypadPeriod Key on the keyboard | 266 |
KeypadDivide | KeypadDivide Key on the keyboard | 267 |
KeypadMultiply | KeypadMultiply Key on the keyboard | 268 |
KeypadMinus | KeypadMinus Key on the keyboard | 269 |
KeypadPlus | KeypadPlus Key on the keyboard | 270 |
KeypadEnter | KeypadEnter Key on the keyboard | 271 |
KeypadEquals | KeypadEquals Key on the keyboard | 272 |
UpArrow | UpArrow Key on the keyboard | 273 |
DownArrow | DownArrow Key on the keyboard | 274 |
RightArrow | RightArrow Key on the keyboard | 275 |
LeftArrow | LeftArrow Key on the keyboard | 276 |
Insert | Insert Key on the keyboard | 277 |
Home | Home Key on the keyboard | 278 |
End | End Key on the keyboard | 279 |
PageUp | PageUp Key on the keyboard | 280 |
PageDown | PageDown Key on the keyboard | 281 |
F1 | F1 Key on the keyboard | 282 |
F2 | F2 Key on the keyboard | 283 |
F3 | F3 Key on the keyboard | 284 |
F4 | F4 Key on the keyboard | 285 |
F5 | F5 Key on the keyboard | 286 |
F6 | F6 Key on the keyboard | 287 |
F7 | F7 Key on the keyboard | 288 |
F8 | F8 Key on the keyboard | 289 |
F9 | F9 Key on the keyboard | 290 |
F10 | F10 Key on the keyboard | 291 |
F11 | F11 Key on the keyboard | 292 |
F12 | F12 Key on the keyboard | 293 |
F13 | F13 Key on the keyboard | 294 |
F14 | F14 Key on the keyboard | 295 |
F15 | F15 Key on the keyboard | 296 |
Numlock | Numlock Key on the keyboard | 300 |
CapsLock | CapsLock Key on the keyboard | 301 |
ScrollLock | ScrollLock Key on the keyboard | 302 |
RightShift | RightShift Key on the keyboard | 303 |
LeftShift | LeftShift Key on the keyboard | 304 |
RightControl | RightControl Key on the keyboard | 305 |
LeftControl | LeftControl Key on the keyboard | 306 |
RightAlt | RightAlt Key on the keyboard | 307 |
LeftAlt | LeftAlt Key on the keyboard | 308 |
RightApple | RightApple Key on the keyboard | 309 |
LeftApple | LeftApple Key on the keyboard | 310 |
LeftWindows | LeftWindows Key on the keyboard | 311 |
RightWindows | RightWindows Key on the keyboard | 312 |
AltGr | AltGr Key on the keyboard | 313 |
Help | Help Key on the keyboard | 315 |
Print Key on the keyboard | 316 | |
SysReq | SysReq Key on the keyboard | 317 |
Break | Break Key on the keyboard | 318 |
Menu | Menu Key on the keyboard | 319 |
Shift | Shift Key on the keyboard | 512 |
Control | Control Key on the keyboard | 513 |
Alt | Alt Key on the keyboard | 514 |
Windows | Windows Key on the keyboard | 515 |