C++ Hotkeys [VK]
Now, these are everywhere over the internet, these are all the VK Keys used to create a HotKey.
I thought I would post it here just in case some new programmers would like a shortcut to see them?! Along with there other sources;
So here they all are; -- These also may be in the MPGH C++ programming section I am not sure, haven't checked.
How to us a GetAsyncKeyState function;
I searched on google and this is the definition: GetAsyncKeyState is a function that returns a SHORT value (on 32bit processors that is a 2 value, half the size of a normal int). The SHORT value will be non-zero (positive) if the key specified is pressed down at the instant the functions is called.
This function can be used in your 'CSGO HACKS' for programmers these are used a lot for example in @turb0z's hack he uses this function to activate his hacks using HOTKEYS (VK) - Below is a bunch of VK Keys.
- This is a Hotkey code (GetAsyncKeyState) If we press the Insert key, this function will return a positive value.
So now if we want to make a function where if we pressed the insert key(VK_INSERT) a hack would be activated, So for example,
lets just pretend esp_on(); = Our hack
So we would do this:
This means if the insert key is pressed down, our function would activate.
This is a very basic way of how the GetAsyncKeyState works!
There is also another way of using this, - When key pressed print a piece of text!
Misc(Other);
I thought I would post it here just in case some new programmers would like a shortcut to see them?! Along with there other sources;
So here they all are; -- These also may be in the MPGH C++ programming section I am not sure, haven't checked.
How to us a GetAsyncKeyState function;
I searched on google and this is the definition: GetAsyncKeyState is a function that returns a SHORT value (on 32bit processors that is a 2 value, half the size of a normal int). The SHORT value will be non-zero (positive) if the key specified is pressed down at the instant the functions is called.
This function can be used in your 'CSGO HACKS' for programmers these are used a lot for example in @turb0z's hack he uses this function to activate his hacks using HOTKEYS (VK) - Below is a bunch of VK Keys.
Code:
GetAsyncKeyState(VK_INSERT);
So now if we want to make a function where if we pressed the insert key(VK_INSERT) a hack would be activated, So for example,
lets just pretend esp_on(); = Our hack
So we would do this:This means if the insert key is pressed down, our function would activate.
This is a very basic way of how the GetAsyncKeyState works!
Code:
if(GetAsyncKeyState(VK_INSERT))
{
esp_on();
}
Code:
using namespace std;
if(GetAsyncKeyState(VK_INSERT))
{
esp_on();
cout << "ESP Has now been activated!" << endl;
}
Code:
VK_LBUTTON - 01 Left mouse button VK_RBUTTON - 02 Right mouse button VK_CANCEL - 03 Control-break processing VK_MBUTTON - 04 Middle mouse button (three-button mouse) VK_BACK - 08 BACKSPACE key VK_TAB - 09 TAB key VK_CLEAR - 0C CLEAR key VK_RETURN - 0D ENTER key VK_SHIFT - 10 SHIFT key VK_CONTROL- 11 CTRL key VK_MENU -12 ALT key VK_PAUSE - 13 PAUSE key VK_CAPITAL - 14 CAPS LOCK key VK_ESCAPE - 1B ESC key VK_SPACE - SPACEBAR VK_PRIOR - PAGE UP key VK_NEXT - PAGE DOWN key VK_END - END key VK_HOME - HOME key VK_LEFT - LEFT ARROW key VK_UP - UP ARROW key VK_RIGHT - RIGHT ARROW key VK_DOWN - DOWN ARROW key VK_SELECT - SELECT key VK_PRINT - PRINT key VK_EXECUTE - EXECUTE key VK_SNAPSHOT - PRINT SCREEN key VK_INSERT - INS key VK_DELETE - DEL key VK_HELP - HELP key 30 - 0 key 31 - 1 key 32 - 2 key 33 - 3 key 34 - 4 key 35 - 5 key 36 - 6 key 37 - 7 key 38 - 8 key 39 - 9 key 41 - A key 42 - B key 43 - C key 44 - D key 45 - E key 46 - F key 47 - G key 48 - H key 49 - I key 4A - J key 4B - K key 4C- L key 4D - M key 4E - N key 4F - O key 50 - P key 51 - Q key 52 - R key 53 - S key 54 - T key 55 - U key 56 - V key 57 - W key 58 - X key 59 - Y key 5A - Z key VK_NUMPAD0 - Numeric keypad 0 key VK_NUMPAD1 - Numeric keypad 1 key VK_NUMPAD2 - Numeric keypad 2 key VK_NUMPAD3 - Numeric keypad 3 key VK_NUMPAD4 - Numeric keypad 4 key VK_NUMPAD5 - Numeric keypad 5 key VK_NUMPAD6 - Numeric keypad 6 key VK_NUMPAD7 - Numeric keypad 7 key VK_NUMPAD8 - Numeric keypad 8 key VK_NUMPAD9 - Numeric keypad 9 key VK_SEPARATOR - Separator key VK_SUBTRACT - Subtract key VK_DECIMAL - Decimal key VK_DIVIDE - Divide key VK_F1 - F1 key VK_F2 - F2 key VK_F3 - F3 key VK_F4 - F4 key VK_F5 - F5 key VK_F6 - F6 key VK_F7 - F7 key VK_F8 - F8 key VK_F9 - F9 key VK_F10 - F10 key VK_F11 - F11 key VK_F12 - F12 key VK_NUMLOCK - NUM LOCK key VK_SCROLL - SCROLL LOCK key VK_LSHIFT - Left SHIFT key VK_RSHIFT - Right SHIFT key VK_LCONTROL - Left CONTROL key VK_RCONTROL - Right CONTROL key
Code:
VK_F13 - F13 key VK_F14 - F14 key VK_F15 - F15 key VK_F16 - F16 key VK_F17 - F17 key VK_F18 - F18 key VK_F19 - F19 key VK_F20 - F20 key VK_F21 - F21 key VK_F22 - F22 key VK_F23 - F23 key VK_F24 - F24 key VK_LMENU - Left MENU key VK_RMENU - Right MENU key VK_PLAY - Play key VK_ZOOM - Zoom key