Making a program that takes control of mouse.

Before we start, I would like you to know that I have been looking for help for the past few hours. I just created this account and am unsure if I am posting this form in the correct spot.. I apologizes.

I am trying to create a program that will take control of the mouse. This means that using C++ code alone I can create something to Move the mouse around and Click. I have found a few examples of these types of programs elsewhere, but those use the header <windows.h> which is not available if you are programing on Unix/Lunix, which I am.

Any help?
No one knows how to do it?
Moving the mouse with just C++ isn't possible, you'll always need to rely on the OS API or on another library. It's outside the purposes of C++.

The best you can do is find a multi-platform library that let you do that, which works both on Windows and Linux.
Topic archived. No new replies allowed.