Key Names

The following is a partial list of names for non-alphanumeric keys. The name for alphanumeric keys is the letter or digit itself. The full list of key names can be found on http://msdn.microsoft.com/library/en-us/winui/WinUI/WindowsUserInterface/UserInput/VirtualKeyCodes.asp.

Key
Name
Left Arrow Key
VK_LEFT
Right Arrow Key
VK_RIGHT
Up Arrow Key
VK_UP
Down Arrow Key
VK_DOWN
+
VK_ADD
*
VK_MULTIPLY
-
VK_SUBTRACT
/
VK_DIVIDE
Alt
VK_MENU
Backspace
VK_BACK
Caps Lock
VK_CAPITAL
Ctrl
VK_CONTROL
Delete
VK_DELETE
End
VK_END
Enter
VK_RETURN
Esc
VK_ESCAPE
F1
VK_F1
F10
VK_F10
F11
VK_F11
F12
VK_F12
F2
VK_F2
F3
VK_F3
F4
VK_F4
F5
VK_F5
F6
VK_F6
F7
VK_F7
F8
VK_F8
F9
VK_F9
Home
VK_HOME
Insert
VK_INSERT
Num Lock
VK_NUMLOCK
Page Down
VK_NEXT
Page Up
VK_PRIOR
Pause
VK_PAUSE
PrtScn
VK_SNAPSHOT
ScrLk
VK_SCROLL
Shift (left)
VK_LSHIFT
Shift (right)
VK_RSHIFT
Tab
VK_TAB