hi,
cant find much online for this.
can this be achieved in driver? i know about sendinput.
cant find much online for this.
Code:
if(GetAsyncKeyState(5))
{
//Press the left mouse button, wait 2 milliseconds, release left mouse button, wait two milliseconds
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); Sleep(2); mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0); Sleep(2);
}
Aucun commentaire:
Enregistrer un commentaire