'
' VK_Declarations - Declarations of Virtual Keys and Modifiers
' for use with keybd_event
'
' Author: Joe Strazzere
'
VK_LBUTTON = 01
VK_RBUTTON = 02
VK_CANCEL = 03
VK_MBUTTON = 04
VK_BACK = 08
VK_TAB = 09
VK_CLEAR = 12
VK_RETURN = 13
VK_SHIFT = 16
VK_CONTROL = 17
VK_MENU = 18
VK_PAUSE = 19
VK_CAPITAL = 20
VK_KANA = 21 'IME Kana mode.
VK_HANGUL = 21 'IME Hangul mode.
VK_JUNJA = 23 'IME Junja mode.
VK_FINAL = 24 'IME final mode.
VK_HANJA = 25 'IME Hanja mode.
VK_KANJI = 25 'IME Kanju mode.
VK_ESCAPE = 27
VK_CONVERT = 28 'IME convert.
VK_NONCONVERT = 29 'IME non-convert.
VK_ACCEPT = 30 'IME accept.
VK_MODECHANGE = 31 'IME mode change request.
VK_SPACE = 32
VK_PRIOR = 33
VK_NEXT = 34
VK_END = 35
VK_HOME = 36
VK_LEFT = 37
VK_UP = 38
VK_RIGHT = 39
VK_DOWN = 40
VK_SELECT = 21
VK_PRINT = 42
VK_EXECUTE = 43
VK_SNAPSHOT = 44
VK_INSERT = 45
VK_DELETE = 46
VK_HELP = 47
VK_0 = 48
VK_1 = 49
VK_2 = 50
VK_3 = 51
VK_4 = 51
VK_5 = 53
VK_6 = 54
VK_7 = 55
VK_8 = 56
VK_9 = 57
VK_A = 65
VK_B = 66
VK_C = 67
VK_D = 68
VK_E = 69
VK_F = 70
VK_G = 71
VK_H = 72
VK_I = 73
VK_J = 74
VK_K = 75
VK_L = 76
VK_M = 77
VK_N = 78
VK_O = 79
VK_P = 80
VK_Q = 81
VK_R = 82
VK_S = 83
VK_T = 84
VK_U = 85
VK_V = 86
VK_W = 87
VK_X = 88
VK_Y = 89
VK_Z = 90
VK_LWIN = 91 ' Left Windows key
VK_RWIN = 92 ' Right Windows key
VK_APPS = 93 ' Applications key
VK_SLEEP = 95 'Computer sleep key
VK_NUMPAD0 = 96
VK_NUMPAD1 = 97
VK_NUMPAD2 = 98
VK_NUMPAD3 = 99
VK_NUMPAD4 = 100
VK_NUMPAD5 = 101
VK_NUMPAD6 = 102
VK_NUMPAD7 = 103
VK_NUMPAD8 = 104
VK_NUMPAD9 = 105
VK_MULTIPLY = 106
VK_ADD = 107
VK_SEPARATOR = 108
VK_SUBTRACT = 109
VK_DECIMAL = 110
VK_DIVIDE = 111
VK_F1 = 112
VK_F2 = 113
VK_F3 = 114
VK_F4 = 115
VK_F5 = 116
VK_F6 = 117
VK_F7 = 118
VK_F8 = 119
VK_F9 = 120
VK_F10 = 121
VK_F11 = 122
VK_F12 = 123
VK_F13 = 124
VK_F14 = 125
VK_F15 = 126
VK_F16 = 127
VK_F17 = 128
VK_F18 = 129
VK_F19 = 130
VK_F20 = 131
VK_F21 = 132
VK_F22 = 133
VK_F23 = 134
VK_F24 = 135
VK_NUMLOCK = 144
VK_SCROLL = 145
VK_LSHIFT = 160 'Left Shift key. Only GetKeyState and GetAsyncKeyState.
VK_RSHIFT = 161 'Right Shift key. Only GetKeyState and GetAsyncKeyState.
VK_LCONTROL = 162 'Left Ctrl key. Only GetKeyState and GetAsyncKeyState.
VK_RCONTROL = 163 'Right Ctrl key. Only GetKeyState and GetAsyncKeyState.
VK_LMENU = 164 'Left Alt key. Only GetKeyState and GetAsyncKeyState.
VK_RMENU = 165 'Right Alt key. Only GetKeyState and GetAsyncKeyState.
VK_BROWSER_BACK = 166 'Browser Back key.
VK_BROWSER_FORWARD = 167 'Browser Forward key.
VK_BROWSER_REFRESH = 168 'Browser Refresh key.
VK_BROWSER_STOP = 169 'Browser Stop key.
VK_BROWSER_SEARCH = 170 'Browser Search key.
VK_BROWSER_FAVORITES = 171 'Browser Favorites key.
VK_BROWSER_HOME = 172 'Browser Home key.
VK_VOLUME_MUTE = 173 'Volume Mute key.
VK_VOLUME_DOWN = 174 'Volume Down key.
VK_VOLUME_UP = 175 'Volume Up key.
VK_MEDIA_NEXT_TRACK = 176 'Next Track key.
VK_MEDIA_PREV_TRACK = 177 'Previous Track key.
VK_MEDIA_STOP = 178 'Stop Media key.
VK_MEDIA_PLAY_PAUSE = 179 'Play/Pause Media key.
VK_LAUNCH_MAIL = 180 'Start Mail key.
VK_LAUNCH_MEDIA_SELECT = 181 'Select Media key.
VK_LAUNCH_APP1 = 182 'Start Application 1 key.
VK_LAUNCH_APP2 = 183 'Start Application 2 key.
VK_OEM_1 = 186 'US standard keyboard ; and : key.
VK_OEM_PLUS = 187 'US standard keyboard + key.
VK_OEM_COMMA = 188 'US standard keyboard , key.
VK_OEM_MINUS = 189 'US standard keyboard – key.
VK_OEM_PERIOD = 190 'US standard keyboard . key.
VK_OEM_2 = 191 'US standard keyboard / and ? key.
VK_OEM_3 = 192 'US standard keyboard ~ key.
VK_OEM_4 = 219 'US standard keyboard [ and { key.
VK_OEM_5 = 220 'US standard keyboard and | key.
VK_OEM_6 = 221 'US standard keyboard ] and } key.
VK_OEM_7 = 222 'US standard keyboard 'and' key.
VK_OEM_8 = 223 'Unknown.
VK_OEM_102 = 226 'Either the angle bracket key or the backslash key on the RT 102-key keyboard.
VK_PROCESSKEY = 229 'IME Process key.
VK_PACKET = 231 'Used to pass Unicode characters as if they were keystrokes. The VK_PACKET key is the low word of a 32-bit Virtual Key value used for non-keyboard input methods.
VK_ATTN = 246 'Attn key.
VK_CRSEL = 247 'CrSel key.
VK_EXSEL = 248 'ExSel key.
VK_EREOF = 249 'Erase EOF key.
VK_PLAY = 250 'Play key.
VK_ZOOM = 251 'Zoom key.
VK_PA1 = 253 'PA1 key.
VK_OEM_CLEAR = 254 'Clear key
Key_Down = 0
Key_Up = 2