Enum Keys
Keyboard key codes
public enum Keys
Fields
A = 65A key.
Add = 107Add key.
Apps = 93Applications key.
B = 66B key.
Back = 8BACKSPACE key.
Backslash = 226The OEM angle bracket or backslash key on the RT 102 key keyboard.
C = 67C key.
CapsLock = 20CAPS LOCK key.
CloseBrackets = 221The OEM close bracket key on a US standard keyboard.
Comma = 188For any country/region, the ',' key.
D = 68D key.
D0 = 48D0
D1 = 49Used for miscellaneous characters; it can vary by keyboard.
D2 = 50Used for miscellaneous characters; it can vary by keyboard.
D3 = 51Used for miscellaneous characters; it can vary by keyboard.
D4 = 52Used for miscellaneous characters; it can vary by keyboard.
D5 = 53Used for miscellaneous characters; it can vary by keyboard.
D6 = 54Used for miscellaneous characters; it can vary by keyboard.
D7 = 55Used for miscellaneous characters; it can vary by keyboard.
D8 = 56Used for miscellaneous characters; it can vary by keyboard.
D9 = 57Used for miscellaneous characters; it can vary by keyboard.
Delete = 46DEL key.
Divide = 111Divide key.
Dot = 110Dot key.
Down = 40DOWN ARROW key.
E = 69E key.
End = 35END key.
Enter = 13ENTER / Return key.
Escape = 27ESC key.
Execute = 43EXECUTE key.
F = 70F key.
F1 = 112F1 key.
F10 = 121F10 key.
F11 = 122F11 key.
F12 = 123F12 key.
F2 = 113F2 key.
F3 = 114F3 key.
F4 = 115F4 key.
F5 = 116F5 key.
F6 = 117F6 key.
F7 = 118F7 key.
F8 = 119F8 key.
F9 = 120F9 key.
G = 71G key.
H = 72H key.
Help = 47HELP key.
Home = 36HOME key.
I = 73I key.
Insert = 45INS key.
J = 74J key.
K = 75K key.
L = 76L key.
Left = 37LEFT ARROW key.
LeftAlt = 164Left ALT key.
LeftControl = 162Left CONTROL key.
LeftShift = 160F13 key.
LeftWindows = 91Left Windows/Meta/Command key.
M = 77M key.
Max = 227Last key entry
Multiply = 106Multiply key.
N = 78N key.
None = 0Reserved.
NumPad0 = 96Numeric keypad 0 key.
NumPad1 = 97Numeric keypad 1 key.
NumPad2 = 98Numeric keypad 2 key.
NumPad3 = 99Numeric keypad 3 key.
NumPad4 = 100Numeric keypad 4 key.
NumPad5 = 101Numeric keypad 5 key.
NumPad6 = 102Numeric keypad 6 key.
NumPad7 = 103Numeric keypad 7 key.
NumPad8 = 104Numeric keypad 8 key.
NumPad9 = 105Numeric keypad 9 key.
O = 79O key.
OemMinus = 189For any country/region, the '-' key.
OemPlus = 187For any country/region, the '+' key.
OpenBrackets = 219The OEM open bracket key on a US standard keyboard.
P = 80P key.
PageDown = 34PAGE DOWN key.
PageUp = 33PAGE UP key.
Pause = 19PAUSE key.
Period = 190For any country/region, the '.' key.
Pipe = 220The OEM pipe key on a US standard keyboard.
Print = 42PRINT key.
PrintScreen = 44PRINT SCREEN key.
Q = 81Q key.
Question = 191The OEM question mark key on a US standard keyboard.
Quotes = 222The OEM singled/double quote key on a US standard keyboard.
R = 82R key.
Right = 39RIGHT ARROW key.
RightAlt = 165Right ALT key.
RightControl = 163Right CONTROL key.
RightShift = 161Right SHIFT key.
RightWindows = 92Right Windows/Meta/Command key.
S = 83S key.
Select = 41SELECT key.
Semicolon = 186The OEM Semicolon key on a US standard keyboard.
Separator = 108Separator key.
Sleep = 95Computer Sleep key.
Space = 32SPACE BAR key.
Subtract = 109Subtract key.
T = 84T key.
Tab = 9TAB key.
Tilde = 192The OEM tilde key on a US standard keyboard.
U = 85U key.
Up = 38UP ARROW key.
V = 86V key.
VolumeDown = 174Volume Down key.
VolumeMute = 173Volume Mute key.
VolumeUp = 175Volume Up key.
W = 87W key.
X = 88X key.
Y = 89Y key.
Z = 90Z key.
public int value__