Help with sending keys
I need help with sending the space key to Combat Arms.
Apparently you can't do VKs anymore since Nexon patched them or something like that. So my bunny hop doesn't work. It's MSVC++ and Windows forms project...
I have tried :
SendKeys::Send();
SendKeys::SendWait();
GenerateKey(); (Person made function)
keybd_event( VK_SPACE, 0x45, KEYEVENTF_EXTENDEDKEY, 0 );
keybd_event( VK_SPACE, 0x45, KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP, 0 );
etc...
Nothing seems to work. Is there any way I can do this?
That ought to work, but PostMessage() is kind of slow. A Global Key board hook would be faster and the better choice. I believe BA posted some source for one. Copy and paste till your heart desire.
Hmmmm... wdf is HD when you need him, must have worn himself after that VB thing...