how to move pointer w/o using mouse in X
hi
i would like to know if there's a program which i can
use to move the mouse pointer around the screen, without
actually explicitly moving the mouse. for example, something
which i could tell:
bash$ xmovemouseptr +10 +10
should move the pointer 10 pixels right and down (or whatever). i am using fvwm2, if the functionality is
in there that would be great also. i saw there's an
Xlib function called XWarpPointer which does what i want,
but i dont know how to write the code that would go
around the call in a c program, to obtain
the display and whatever else needs to be done.
i would pursue that also if someone knows
a basic wrapper.
thanks
-gong
|