Partilhar via


Keyboard Key Strings

The following table lists all the strings which can be used to identify keys on the keyboard, for use with the SimConnect_ReservedKeySet function, described in the SimConnect documentation.

"VK_0x00"
"VK_LBUTTON"
"VK_RBUTTON"
"Scroll_Lock"
"VK_MBUTTON"
"VK_XBUTTON1"
"VK_XBUTTON2"
"VK_0x07"
"Backspace"
"Tab"
"VK_0x0A"
"VK_0x0B"
"Num_5"
"Enter"
"VK_0x0E"
"VK_0x0F"
"Shift"
"Ctrl"
"Alt"
"VK_PAUSE"
"Caps_Lock"
"VK_KANA"
"VK_0x16"
"VK_JUNJA"
"VK_FINAL"
"VK_KANJI"
"VK_0x1A"
"Esc"
"VK_CONVERT"
"VK_NONCONVERT"
"VK_ACCEPT"
"VK_MODECHANGE"
"Space"
"Num_9"
"Num_3"
"Num_1"
"Num_7"
"Num_4"
"Num_8"
"Num_6"
"Num_2"
"VK_SELECT"
"VK_PRINT"
"VK_EXECUTE"
"Sys_Req"
"Num_0"
"Num_Del"
"VK_HELP"
"0"
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"9"
"VK_0x3A"
"VK_0x3B"
"VK_0x3C"
"VK_0x3D"
"VK_0x3E"
"VK_0x3F"
"VK_0x40"
"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"
"VK_LWIN"
"VK_RWIN"
"VK_APPS"
"VK_0x5E"
"VK_SLEEP"
"VK_NUMPAD0"
"VK_NUMPAD1"
"VK_NUMPAD2"
"VK_NUMPAD3"
"VK_NUMPAD4"
"VK_NUMPAD5"
"VK_NUMPAD6"
"VK_NUMPAD7"
"VK_NUMPAD8"
"VK_NUMPAD9"
"VK_MULTIPLY"
"VK_ADD"
"VK_SEPARATOR"
"VK_SUBTRACT"
"VK_DECIMAL"
"VK_DIVIDE"
"F1"
"F2"
"F3"
"F4"
"F5"
"F6"
"F7"
"F8"
"F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