Enum KeyCode
Represents a virtual key code.
public enum KeyCode : ushort
Fields
Vc0 = 480
Available on: Windows, macOS, Linux
Vc1 = 491
Available on: Windows, macOS, Linux
Vc102 = 153The <> key on the US standard keyboard, or the | key on the non-US 102-key keyboard, or the Section key (§) on the macOS ISO keyboard
Available on: Windows, macOS, Linux
Vc2 = 502
Available on: Windows, macOS, Linux
Vc3 = 513
Available on: Windows, macOS, Linux
Vc4 = 524
Available on: Windows, macOS, Linux
Vc5 = 535
Available on: Windows, macOS, Linux
Vc6 = 546
Available on: Windows, macOS, Linux
Vc7 = 557
Available on: Windows, macOS, Linux
Vc8 = 568
Available on: Windows, macOS, Linux
Vc9 = 579
Available on: Windows, macOS, Linux
VcA = 65A
Available on: Windows, macOS, Linux
VcAccept = 30IME Accept
Available on: Windows
VcAlphanumeric = 240IME Alphanumeric mode (eisū)
Available on: macOS
VcApp1 = 57382Launch app 1
Available on: Windows, Linux
VcApp2 = 57383Launch app 2
Available on: Windows, Linux
VcApp3 = 57384Launch app 3
Available on: Linux
VcApp4 = 57385Launch app 4
Available on: Linux
VcAppBrowser = 57381Launch browser
Available on: Linux
VcAppCalculator = 57377Launch calculator
Available on: Linux
VcAppMail = 57452Launch mail
Available on: Windows, Linux
VcB = 66B
Available on: Windows, macOS, Linux
VcBackQuote = 192`
Available on: Windows, macOS, Linux
VcBackslash = 93\
Available on: Windows, macOS, Linux
VcBackspace = 8Backspace (on Windows and Linux) or Delete (on macOS)
Available on: Windows, macOS, Linux
VcBrowserBack = 57450Browser Back
Available on: Windows, Linux
VcBrowserFavorites = 57446Browser Favorites
Available on: Windows, Linux
VcBrowserForward = 57449Browser Forward
Available on: Windows, Linux
VcBrowserHome = 57394Browser Home
Available on: Windows, Linux
VcBrowserRefresh = 57447Browser Refresh
Available on: Windows, Linux
VcBrowserSearch = 57445Browser Search
Available on: Windows, Linux
VcBrowserStop = 57448Browser Stop
Available on: Windows
VcC = 67C
Available on: Windows, macOS, Linux
VcCancel = 211Cancel
Available on: Windows, Linux
VcCapsLock = 20Caps Lock
Available on: Windows, macOS, Linux
VcChangeInputSource = 527Function key when used to change an input source on macOS
Available on: macOS
VcCloseBracket = 92]
Available on: Windows, macOS, Linux
VcComma = 44,
Available on: Windows, macOS, Linux
VcContextMenu = 525Context Menu
Available on: Windows, macOS, Linux
VcConvert = 28IME Convert (henkan)
Available on: Windows, Linux
VcD = 68D
Available on: Windows, macOS, Linux
VcDelete = 127Delete (on Windows and Linux) or Forward Delete (on macOS)
Available on: Windows, macOS, Linux
VcDown = 40Down Arrow
Available on: Windows, macOS, Linux
VcE = 69E
Available on: Windows, macOS, Linux
VcEnd = 35End
Available on: Windows, macOS, Linux
VcEnter = 10Enter
Available on: Windows, macOS, Linux
VcEquals = 61=
Available on: Windows, macOS, Linux
VcEscape = 27Escape
Available on: Windows, macOS, Linux
VcF = 70F
Available on: Windows, macOS, Linux
VcF1 = 112F1
Available on: Windows, macOS, Linux
VcF10 = 121F10
Available on: Windows, macOS, Linux
VcF11 = 122F11
Available on: Windows, macOS, Linux
VcF12 = 123F12
Available on: Windows, macOS, Linux
VcF13 = 61440F13
Available on: Windows, macOS, Linux
VcF14 = 61441F14
Available on: Windows, macOS, Linux
VcF15 = 61442F15
Available on: Windows, macOS, Linux
VcF16 = 61443F16
Available on: Windows, macOS, Linux
VcF17 = 61444F17
Available on: Windows, macOS, Linux
VcF18 = 61445F18
Available on: Windows, macOS, Linux
VcF19 = 61446F19
Available on: Windows, macOS, Linux
VcF2 = 113F2
Available on: Windows, macOS, Linux
VcF20 = 61447F20
Available on: Windows, macOS, Linux
VcF21 = 61448F21
Available on: Windows, Linux
VcF22 = 61449F22
Available on: Windows, Linux
VcF23 = 61450F23
Available on: Windows, Linux
VcF24 = 61451F24
Available on: Windows, Linux
VcF3 = 114F3
Available on: Windows, macOS, Linux
VcF4 = 115F4
Available on: Windows, macOS, Linux
VcF5 = 116F5
Available on: Windows, macOS, Linux
VcF6 = 117F6
Available on: Windows, macOS, Linux
VcF7 = 118F7
Available on: Windows, macOS, Linux
VcF8 = 119F8
Available on: Windows, macOS, Linux
VcF9 = 120F9
Available on: Windows, macOS, Linux
VcFinal = 231IME Final mode
Available on: Windows
VcFunction = 526Function
Available on: macOS
VcG = 71G
Available on: Windows, macOS, Linux
VcH = 72H
Available on: Windows, macOS, Linux
[Obsolete("VcKana should be used instead")] VcHangul = 233IME Hangul mode
Available on: Windows, Linux
VcHanja = 230IME Hanja mode
Available on: Windows, Linux
VcHelp = 159Help
Available on: Windows, macOS, Linux
VcHiragana = 242IME Hiragana mode
Available on: Linux
VcHome = 36Home
Available on: Windows, macOS, Linux
VcI = 73I
Available on: Windows, macOS, Linux
VcImeOff = 264IME Off
Available on: Windows
VcImeOn = 265IME On
Available on: Windows
VcInsert = 155Insert
Available on: Windows, Linux
VcJ = 74J
Available on: Windows, macOS, Linux
VcJpComma = 528JP Comma
Available on: macOS, Linux
VcJunja = 232IME Junja mode
Available on: Windows
VcK = 75K
Available on: Windows, macOS, Linux
VcKana = 21IME Kana mode
Available on: Windows, macOS
[Obsolete("VcHanja should be used instead")] VcKanji = 25IME Kanji mode
Available on: Windows
VcKatakana = 241IME Katakana mode
Available on: Linux
VcKatakanaHiragana = 262IME Katakana/Hiragana toggle
Available on: Linux
VcL = 76L
Available on: Windows, macOS, Linux
VcLeft = 37Left Arrow
Available on: Windows, macOS, Linux
VcLeftAlt = 40978Left Alt (on Windows and Linux) or Option (on macOS)
Available on: Windows, macOS, Linux
VcLeftControl = 40977Left Control
Available on: Windows, macOS, Linux
VcLeftMeta = 41117Left Win (on Windows), Command (on macOS), or Super/Meta (on Linux)
Available on: Windows, macOS, Linux
VcLeftShift = 40976Left Shift
Available on: Windows, macOS, Linux
VcM = 77M
Available on: Windows, macOS, Linux
VcMediaEject = 57388Eject Media
Available on: macOS, Linux
VcMediaNext = 57369Next Media
Available on: Windows, macOS, Linux
VcMediaPlay = 57378Play/Pause Media
Available on: Windows, macOS, Linux
VcMediaPrevious = 57360Previous Media
Available on: Windows, macOS, Linux
VcMediaSelect = 57453Select Media
Available on: Windows
VcMediaStop = 57380Stop Media
Available on: Windows, Linux
VcMinus = 45Available on: Windows, macOS, Linux
VcMisc = 3585Miscellaneous OEM-specific key
Available on: Windows
VcModeChange = 263IME Mode Change
Available on: Windows, Linux
VcN = 78N
Available on: Windows, macOS, Linux
VcNonConvert = 29IME Non-Convert (muhenkan)
Available on: Windows, Linux
VcNumLock = 144Num Lock
Available on: Windows, Linux
VcNumPad0 = 96Num-Pad 0
Available on: Windows, macOS, Linux
VcNumPad1 = 97Num-Pad 1
Available on: Windows, macOS, Linux
VcNumPad2 = 98Num-Pad 2
Available on: Windows, macOS, Linux
VcNumPad3 = 99Num-Pad 3
Available on: Windows, macOS, Linux
VcNumPad4 = 100Num-Pad 4
Available on: Windows, macOS, Linux
VcNumPad5 = 101Num-Pad 5
Available on: Windows, macOS, Linux
VcNumPad6 = 102Num-Pad 6
Available on: Windows, macOS, Linux
VcNumPad7 = 103Num-Pad 7
Available on: Windows, macOS, Linux
VcNumPad8 = 104Num-Pad 8
Available on: Windows, macOS, Linux
VcNumPad9 = 105Num-Pad 9
Available on: Windows, macOS, Linux
VcNumPadAdd = 107Num-Pad +
Available on: Windows, macOS, Linux
VcNumPadClear = 12Num-Pad Clear
Available on: Windows, macOS
VcNumPadDecimal = 110Num-Pad Decimal
Available on: Windows, macOS, Linux
VcNumPadDivide = 111Num-Pad /
Available on: Windows, macOS, Linux
VcNumPadEnter = 125Num-Pad Enter
Available on: Windows, macOS, Linux
VcNumPadEquals = 124Num-Pad =
Available on: Windows, macOS, Linux
VcNumPadMultiply = 106Num-Pad *
Available on: Windows, macOS, Linux
VcNumPadSeparator = 108Num-Pad Separator
Available on: Windows, Linux
VcNumPadSubtract = 109Num-Pad -
Available on: Windows, macOS, Linux
VcO = 79O
Available on: Windows, macOS, Linux
VcOpenBracket = 91[
Available on: Windows, macOS, Linux
VcP = 80P
Available on: Windows, macOS, Linux
VcPageDown = 34Page Down
Available on: Windows, macOS, Linux
VcPageUp = 33Page Up
Available on: Windows, macOS, Linux
VcPause = 19Pause
Available on: Windows, Linux
VcPeriod = 46.
Available on: Windows, macOS, Linux
VcPower = 57438Power
Available on: macOS, Linux
VcPrintScreen = 154Print Screen
Available on: Windows, Linux
VcProcess = 261IME Process
Available on: Windows
VcQ = 81Q
Available on: Windows, macOS, Linux
VcQuote = 222'
Available on: Windows, macOS, Linux
VcR = 82R
Available on: Windows, macOS, Linux
VcRight = 39Right Arrow
Available on: Windows, macOS, Linux
VcRightAlt = 45074Right Alt (on Windows and Linux) or Option (on macOS)
Available on: Windows, macOS, Linux
VcRightControl = 45073Right Control
Available on: Windows, macOS, Linux
VcRightMeta = 45213Right Win (on Windows), Command (on macOS), or Super/Meta (on Linux)
Available on: Windows, macOS, Linux
VcRightShift = 45072Right Shift
Available on: Windows, macOS, Linux
VcS = 83S
Available on: Windows, macOS, Linux
VcScrollLock = 145Scroll Lock
Available on: Windows, Linux
VcSemicolon = 59;
Available on: Windows, macOS, Linux
VcSlash = 47/
Available on: Windows, macOS, Linux
VcSleep = 57439Sleep
Available on: Windows, Linux
VcSpace = 32Space
Available on: Windows, macOS, Linux
VcT = 84T
Available on: Windows, macOS, Linux
VcTab = 9Tab
Available on: Windows, macOS, Linux
VcU = 85U
Available on: Windows, macOS, Linux
VcUndefined = 0Undefined key
VcUnderscore = 523_
Available on: macOS, Linux
VcUp = 38Up Arrow
Available on: Windows, macOS, Linux
VcV = 86V
Available on: Windows, macOS, Linux
VcVolumeDown = 57392Volume Down
Available on: Windows, macOS, Linux
VcVolumeMute = 57376Volume Mute
Available on: Windows, macOS, Linux
VcVolumeUp = 57390Volume Up
Available on: Windows, macOS, Linux
VcW = 87W
Available on: Windows, macOS, Linux
VcX = 88X
Available on: Windows, macOS, Linux
VcY = 89Y
Available on: Windows, macOS, Linux
VcYen = 524Yen
Available on: macOS, Linux
VcZ = 90Z
Available on: Windows, macOS, Linux