[API categories](API-categories.md) | [API index](API-index.md)


# Virtual Key codes

Windows-only. You can use these VK constants in [KeyboardHandler](KeyboardHandler.md).OnKeyEvent() to check the 3rd parameter `|code|`.

More description of keys on MSDN: [Virtual-Key Codes (Windows)](http://msdn.microsoft.com/en-us/library/dd375731(v=vs.85).aspx)


## Constants


cefpython.`VK_0`   
cefpython.`VK_1`   
cefpython.`VK_2`   
cefpython.`VK_3`   
cefpython.`VK_4`   
cefpython.`VK_5`   
cefpython.`VK_6`   
cefpython.`VK_7`   
cefpython.`VK_8`   
cefpython.`VK_9`   

cefpython.`VK_A`   
cefpython.`VK_B`   
cefpython.`VK_C`   
cefpython.`VK_D`   
cefpython.`VK_E`   
cefpython.`VK_F`   
cefpython.`VK_G`   
cefpython.`VK_H`   
cefpython.`VK_I`   
cefpython.`VK_J`   
cefpython.`VK_K`   
cefpython.`VK_L`   
cefpython.`VK_M`   
cefpython.`VK_N`   
cefpython.`VK_O`   
cefpython.`VK_P`   
cefpython.`VK_Q`   
cefpython.`VK_R`   
cefpython.`VK_S`   
cefpython.`VK_T`   
cefpython.`VK_U`   
cefpython.`VK_V`   
cefpython.`VK_W`   
cefpython.`VK_X`   
cefpython.`VK_Y`   
cefpython.`VK_Z`   

cefpython.`VK_F1`   
cefpython.`VK_F2`   
cefpython.`VK_F3`   
cefpython.`VK_F4`   
cefpython.`VK_F5`   
cefpython.`VK_F6`   
cefpython.`VK_F7`   
cefpython.`VK_F8`   
cefpython.`VK_F9`   
cefpython.`VK_F10`   
cefpython.`VK_F11`   
cefpython.`VK_F12`   
cefpython.`VK_F13`   
cefpython.`VK_F14`   
cefpython.`VK_F15`   
cefpython.`VK_F16`   
cefpython.`VK_F17`   
cefpython.`VK_F18`   
cefpython.`VK_F19`   
cefpython.`VK_F20`   
cefpython.`VK_F21`   
cefpython.`VK_F22`   
cefpython.`VK_F23`   
cefpython.`VK_F24`   

cefpython.`VK_LEFT` _# Left arrow key_   
cefpython.`VK_UP` _# Up arrow key_   
cefpython.`VK_RIGHT` _# Right arrow key_   
cefpython.`VK_DOWN` _# Down arrow key_   

cefpython.`VK_LSHIFT` _# Left shift_   
cefpython.`VK_RSHIFT` _# Right shift_   
cefpython.`VK_LCONTROL` _# Left Ctrl_   
cefpython.`VK_RCONTROL` _# Right Ctrl_   
cefpython.`VK_LMENU` _# Left Alt_   
cefpython.`VK_RMENU` _# Right Alt_   
cefpython.`VK_LALT`   
cefpython.`VK_RALT`   

cefpython.`VK_BACK` _# Backspace key_   
cefpython.`VK_RETURN` _# Enter key_   
cefpython.`VK_TAB`   
cefpython.`VK_SPACE` _# Space bar key_   
cefpython.`VK_ESCAPE`   

cefpython.`VK_SHIFT` _# Shift key_   
cefpython.`VK_CONTROL` _# Ctrl key_   
cefpython.`VK_MENU` _# Alt key_   
cefpython.`VK_LWIN` _# Left Windows key_   
cefpython.`VK_RWIN` _# Right Windows key_   
cefpython.`VK_CAPITAL` _# Caps Lock key_   
cefpython.`VK_CAPSLOCK`   

cefpython.`VK_PRIOR` _# Page up_   
cefpython.`VK_NEXT` _# Page down_   
cefpython.`VK_PAGEUP`   
cefpython.`VK_PAGEDOWN`   
cefpython.`VK_END`   
cefpython.`VK_HOME`   
cefpython.`VK_INSERT`   
cefpython.`VK_DELETE`   

cefpython.`VK_NUMLOCK`   
cefpython.`VK_SCROLL` _# Scroll Lock key_   

cefpython.`VK_SELECT`   
cefpython.`VK_PRINT`   
cefpython.`VK_EXECUTE`   
cefpython.`VK_SNAPSHOT` _# Print Screen key_   
cefpython.`VK_PRINTSCREEN`   
cefpython.`VK_HELP`   
cefpython.`VK_PAUSE`   
cefpython.`VK_CLEAR`   
cefpython.`VK_APPS` _# Applications key (Natural keyboard)_   
cefpython.`VK_SLEEP` _# Computer Sleep key_   

cefpython.`VK_NUMPAD0` _# Numeric keypad 0 key_   
cefpython.`VK_NUMPAD1` _# Numeric keypad 1 key_   
cefpython.`VK_NUMPAD2` _# Numeric keypad 2 key_   
cefpython.`VK_NUMPAD3` _# Numeric keypad 3 key_   
cefpython.`VK_NUMPAD4` _# Numeric keypad 4 key_   
cefpython.`VK_NUMPAD5` _# Numeric keypad 5 key_   
cefpython.`VK_NUMPAD6` _# Numeric keypad 6 key_   
cefpython.`VK_NUMPAD7` _# Numeric keypad 7 key_   
cefpython.`VK_NUMPAD8` _# Numeric keypad 8 key_   
cefpython.`VK_NUMPAD9` _# Numeric keypad 9 key_   

cefpython.`VK_BROWSER_BACK`   
cefpython.`VK_BROWSER_FORWARD`   
cefpython.`VK_BROWSER_REFRESH`   
cefpython.`VK_BROWSER_STOP`   
cefpython.`VK_BROWSER_SEARCH`   
cefpython.`VK_BROWSER_FAVORITES`   
cefpython.`VK_BROWSER_HOME`   

cefpython.`VK_PLAY`   
cefpython.`VK_ZOOM`   

cefpython.`VK_VOLUME_MUTE`   
cefpython.`VK_VOLUME_DOWN`   
cefpython.`VK_VOLUME_UP`   
cefpython.`VK_MEDIA_NEXT_TRACK`   
cefpython.`VK_MEDIA_PREV_TRACK`   
cefpython.`VK_MEDIA_STOP`   
cefpython.`VK_MEDIA_PLAY_PAUSE`   
cefpython.`VK_LAUNCH_MAIL`   
cefpython.`VK_LAUNCH_MEDIA_SELECT`   
cefpython.`VK_LAUNCH_APP1` _# Start Application 1 key_   
cefpython.`VK_LAUNCH_APP2` _# Start Application 2 key_   

cefpython.`VK_MULTIPLY`   
cefpython.`VK_ADD`   
cefpython.`VK_SEPARATOR`   
cefpython.`VK_SUBTRACT`   
cefpython.`VK_DECIMAL`   
cefpython.`VK_DIVIDE`   

cefpython.`VK_LBUTTON` _# Left mouse button_   
cefpython.`VK_RBUTTON` _# Right mouse button_   
cefpython.`VK_CANCEL` _# Control-break processing_   
cefpython.`VK_MBUTTON` _# Middle mouse button (three-button mouse)_   

cefpython.`VK_XBUTTON1` _# X1 mouse button_   
cefpython.`VK_XBUTTON2` _# X2 mouse button_   

cefpython.`VK_KANA` _# IME Kana mode_   
cefpython.`VK_HANGUL` _# IME Hangul mode_   
cefpython.`VK_JUNJA` _# IME Junja mode_   
cefpython.`VK_FINAL` _# IME final mode_   
cefpython.`VK_HANJA` _# IME Hanja mode_   
cefpython.`VK_KANJI` _# IME Kanji mode_   
cefpython.`VK_CONVERT` _# IME convert_   
cefpython.`VK_NONCONVERT` _# IME nonconvert_   
cefpython.`VK_ACCEPT` _# IME accept_   
cefpython.`VK_MODECHANGE` _# IME mode change request_   

cefpython.`VK_PROCESSKEY`   
cefpython.`VK_PACKET`   
cefpython.`VK_ICO_HELP`   
cefpython.`VK_ICO_00`   
cefpython.`VK_ICO_CLEAR`   