HelpMouse position

Posts 1–3 of 3 · Page 1 of 1
Mouse position
Hello, the title says all!, Im looking into how to change mouse position

I alredy managed to get the X Y positions

Code:
POINT p;

	GetCursorPos(&p);
	std::cout << "Mouse X posittion: " << p.x  << std::endl;
	std::cout << "Mouse Y posittion: " << p.y << std::endl;
I looked up for SendInput but never undernstood it

Thanks
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us