Keys Enum
Definition
Section titled “Definition”Defines the keys on a keyboard.
public enum KeysFields
Section titled “Fields”Reserved.
None = 0BACKSPACE key.
Back = 8TAB key.
Tab = 9ENTER key.
Enter = 13CapsLock
Section titled “CapsLock”CAPS LOCK key.
CapsLock = 20Escape
Section titled “Escape”ESC key.
Escape = 27SPACEBAR key.
Space = 32PageUp
Section titled “PageUp”PAGE UP key.
PageUp = 33PageDown
Section titled “PageDown”PAGE DOWN key.
PageDown = 34END key.
End = 35HOME key.
Home = 36LEFT ARROW key.
Left = 37UP ARROW key.
Up = 38RIGHT ARROW key.
Right = 39DOWN ARROW key.
Down = 40Select
Section titled “Select”SELECT key.
Select = 41PRINT key.
Print = 42Execute
Section titled “Execute”EXECUTE key.
Execute = 43PrintScreen
Section titled “PrintScreen”PRINT SCREEN key.
PrintScreen = 44Insert
Section titled “Insert”INS key.
Insert = 45Delete
Section titled “Delete”DEL key.
Delete = 46HELP key.
Help = 47Used for miscellaneous characters; it can vary by keyboard.
D0 = 48Used for miscellaneous characters; it can vary by keyboard.
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 = 57A key.
A = 65B key.
B = 66C key.
C = 67D key.
D = 68E key.
E = 69F key.
F = 70G key.
G = 71H key.
H = 72I key.
I = 73J key.
J = 74K key.
K = 75L key.
L = 76M key.
M = 77N key.
N = 78O key.
O = 79P key.
P = 80Q key.
Q = 81R key.
R = 82S key.
S = 83T key.
T = 84U key.
U = 85V key.
V = 86W key.
W = 87X key.
X = 88Y key.
Y = 89Z key.
Z = 90LeftWindows
Section titled “LeftWindows”Left Windows key.
LeftWindows = 91RightWindows
Section titled “RightWindows”Right Windows key.
RightWindows = 92Applications key.
Apps = 93Computer Sleep key.
Sleep = 95NumPad0
Section titled “NumPad0”Numeric keypad 0 key.
NumPad0 = 96NumPad1
Section titled “NumPad1”Numeric keypad 1 key.
NumPad1 = 97NumPad2
Section titled “NumPad2”Numeric keypad 2 key.
NumPad2 = 98NumPad3
Section titled “NumPad3”Numeric keypad 3 key.
NumPad3 = 99NumPad4
Section titled “NumPad4”Numeric keypad 4 key.
NumPad4 = 100NumPad5
Section titled “NumPad5”Numeric keypad 5 key.
NumPad5 = 101NumPad6
Section titled “NumPad6”Numeric keypad 6 key.
NumPad6 = 102NumPad7
Section titled “NumPad7”Numeric keypad 7 key.
NumPad7 = 103NumPad8
Section titled “NumPad8”Numeric keypad 8 key.
NumPad8 = 104NumPad9
Section titled “NumPad9”Numeric keypad 9 key.
NumPad9 = 105Multiply
Section titled “Multiply”Multiply key.
Multiply = 106Add key.
Add = 107Separator
Section titled “Separator”Separator key.
Separator = 108Subtract
Section titled “Subtract”Subtract key.
Subtract = 109Decimal
Section titled “Decimal”Decimal key.
Decimal = 110Divide
Section titled “Divide”Divide key.
Divide = 111F1 key.
F1 = 112F2 key.
F2 = 113F3 key.
F3 = 114F4 key.
F4 = 115F5 key.
F5 = 116F6 key.
F6 = 117F7 key.
F7 = 118F8 key.
F8 = 119F9 key.
F9 = 120F10 key.
F10 = 121F11 key.
F11 = 122F12 key.
F12 = 123F13 key.
F13 = 124F14 key.
F14 = 125F15 key.
F15 = 126F16 key.
F16 = 127F17 key.
F17 = 128F18 key.
F18 = 129F19 key.
F19 = 130F20 key.
F20 = 131F21 key.
F21 = 132F22 key.
F22 = 133F23 key.
F23 = 134F24 key.
F24 = 135NumLock
Section titled “NumLock”NUM LOCK key.
NumLock = 144Scroll
Section titled “Scroll”SCROLL LOCK key.
Scroll = 145LeftShift
Section titled “LeftShift”Left SHIFT key.
LeftShift = 160RightShift
Section titled “RightShift”Right SHIFT key.
RightShift = 161LeftControl
Section titled “LeftControl”Left CONTROL key.
LeftControl = 162RightControl
Section titled “RightControl”Right CONTROL key.
RightControl = 163LeftAlt
Section titled “LeftAlt”Left ALT key.
LeftAlt = 164RightAlt
Section titled “RightAlt”Right ALT key.
RightAlt = 165BrowserBack
Section titled “BrowserBack”Browser Back key.
BrowserBack = 166BrowserForward
Section titled “BrowserForward”Browser Forward key.
BrowserForward = 167BrowserRefresh
Section titled “BrowserRefresh”Browser Refresh key.
BrowserRefresh = 168BrowserStop
Section titled “BrowserStop”Browser Stop key.
BrowserStop = 169BrowserSearch
Section titled “BrowserSearch”Browser Search key.
BrowserSearch = 170BrowserFavorites
Section titled “BrowserFavorites”Browser Favorites key.
BrowserFavorites = 171BrowserHome
Section titled “BrowserHome”Browser Start and Home key.
BrowserHome = 172VolumeMute
Section titled “VolumeMute”Volume Mute key.
VolumeMute = 173VolumeDown
Section titled “VolumeDown”Volume Down key.
VolumeDown = 174VolumeUp
Section titled “VolumeUp”Volume Up key.
VolumeUp = 175MediaNextTrack
Section titled “MediaNextTrack”Next Track key.
MediaNextTrack = 176MediaPreviousTrack
Section titled “MediaPreviousTrack”Previous Track key.
MediaPreviousTrack = 177MediaStop
Section titled “MediaStop”Stop Media key.
MediaStop = 178MediaPlayPause
Section titled “MediaPlayPause”Play/Pause Media key.
MediaPlayPause = 179LaunchMail
Section titled “LaunchMail”Start Mail key.
LaunchMail = 180SelectMedia
Section titled “SelectMedia”Select Media key.
SelectMedia = 181LaunchApplication1
Section titled “LaunchApplication1”Start Application 1 key.
LaunchApplication1 = 182LaunchApplication2
Section titled “LaunchApplication2”Start Application 2 key.
LaunchApplication2 = 183OemSemicolon
Section titled “OemSemicolon”The OEM Semicolon key on a US standard keyboard.
OemSemicolon = 186OemPlus
Section titled “OemPlus”For any country/region, the ’+’ key.
OemPlus = 187OemComma
Section titled “OemComma”For any country/region, the ’,’ key.
OemComma = 188OemMinus
Section titled “OemMinus”For any country/region, the ’-’ key.
OemMinus = 189OemPeriod
Section titled “OemPeriod”For any country/region, the ’.’ key.
OemPeriod = 190OemQuestion
Section titled “OemQuestion”The OEM question mark key on a US standard keyboard.
OemQuestion = 191OemTilde
Section titled “OemTilde”The OEM tilde key on a US standard keyboard.
OemTilde = 192OemOpenBrackets
Section titled “OemOpenBrackets”The OEM open bracket key on a US standard keyboard.
OemOpenBrackets = 219OemPipe
Section titled “OemPipe”The OEM pipe key on a US standard keyboard.
OemPipe = 220OemCloseBrackets
Section titled “OemCloseBrackets”The OEM close bracket key on a US standard keyboard.
OemCloseBrackets = 221OemQuotes
Section titled “OemQuotes”The OEM singled/double quote key on a US standard keyboard.
OemQuotes = 222Used for miscellaneous characters; it can vary by keyboard.
Oem8 = 223OemBackslash
Section titled “OemBackslash”The OEM angle bracket or backslash key on the RT 102 key keyboard.
OemBackslash = 226ProcessKey
Section titled “ProcessKey”IME PROCESS key.
ProcessKey = 229Attn key.
Attn = 246CrSel key.
Crsel = 247ExSel key.
Exsel = 248EraseEof
Section titled “EraseEof”Erase EOF key.
EraseEof = 249Play key.
Play = 250Zoom key.
Zoom = 251PA1 key.
Pa1 = 253OemClear
Section titled “OemClear”CLEAR key.
OemClear = 254ChatPadGreen
Section titled “ChatPadGreen”Green ChatPad key.
ChatPadGreen = 202ChatPadOrange
Section titled “ChatPadOrange”Orange ChatPad key.
ChatPadOrange = 203PAUSE key.
Pause = 19ImeConvert
Section titled “ImeConvert”IME Convert key.
ImeConvert = 28ImeNoConvert
Section titled “ImeNoConvert”IME NoConvert key.
ImeNoConvert = 29Kana key on Japanese keyboards.
Kana = 21Kanji key on Japanese keyboards.
Kanji = 25OemAuto
Section titled “OemAuto”OEM Auto key.
OemAuto = 243OemCopy
Section titled “OemCopy”OEM Copy key.
OemCopy = 242OemEnlW
Section titled “OemEnlW”OEM Enlarge Window key.
OemEnlW = 244