Spacebar Clicker

Posts 1–7 of 7 · Page 1 of 1
Spacebar Clicker
Can anyone program a spacebar clicker, basically its just like an autoclicker , where lets say f2 is the toggle key. But instead of mouse clicking, i need spacebar clicking, and fast spacebar clicking. If anyone could please be kind enough to program it, much appreciated.
Google it.
keybd_event function
// Simulate a key press
keybd_event( VK_SPACE,
0,
KEYEVENTF_EXTENDEDKEY | 0,
0 );

// Simulate a key release
keybd_event( VK_SPACE,
0,
KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,
0);
Just do in a while/for loop.
You'll want to use SendInput instead, as keybd_event is superseded by it.
while( true ){
while( GetAsyncKeyState( VK_INSERT) ){
keybd_event( VK_SPACE, // copied dat :P
0,
KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,
0);
}
}
Quote Originally Posted by .::SCHiM::. View Post
while( true ){
while( GetAsyncKeyState( VK_INSERT) ){
keybd_event( VK_SPACE, // copied dat :P
0,
KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,
0);
}
}
Simple like that.
And can you answer if your question get solved or you need more help ?
someone has obviously discovered the spacebar challenge lol. beat 100 maual
Why all so hard ?

i use this for WarRock auto Jump

If(AutoJump)
{
keybd_event(VK_SPACE,0,0,0);
Sleep(200
keybd_event(VK_SPACE,0,0,0);
Sleep(200
keybd_event(VK_SPACE,0,0,0);
Sleep(200
}
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us