![]() |
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.
|
Check out:
#include <X11/extensions/XTest.h> Specifically the functions: XTestQueryExtension XTestGrabControl XTestFakeButtonEvent XTestFakeMotionEvent |
| All times are GMT -5. The time now is 08:32 PM. |