#include <windows.h>
int main()
{
while(true) // Infinite loop
{
if(GetAsyncKeyState(VK_LBUTTON)&1) // If left mouse button is clicked
{
int x = 0;
int y = 0;
SetCursorPos(x,y);//Set position of cursor
Sleep(500); //0.5 sec of cpu relief :)
}
}
}