I'm very new to C++ and can't find how to simulate a keypress. I want to make it like this:
if(GetAsyncKeyState(0x52))
{
//(Make program simulate the press of number "3" key (0x33)
}
When I click the "R" key on my keyboard i want the program to simlate a keypress number 3 (0x33)