-   Programming (
-   -   Help moving mouse with code. (

nonconformative 12-02-2003 03:54 PM

Help moving mouse with code.
How can I (which function and library) tell Xwindows where to place the mouse cursor? At the moment I'm using XSelectInput() to read the mouse position, now when a user clicks on one of the buttons, I want to move the mouse with code. Any help greatly appreciated.

LogicG8 12-02-2003 06:44 PM

Check out:
#include <X11/extensions/XTest.h>

Specifically the functions:

All times are GMT -5. The time now is 05:24 PM.