Injecting mouse events into the X server

Alan Cox alan at
Tue Nov 7 14:23:23 PST 2006

Ar Mer, 2006-11-08 am 07:04 +1100, ysgrifennodd Erik de Castro Lopo:
> Hi all,
> I'm writing a driver for a touch screen device and need a way
> to get X events into the X server with as little effor on my
> part as possible.
> This is mainly for testing. Eventually I intend to either write
> a proper kernel level driver of an X input diver.
> Any advice or pointers?

Take a look at the Xtest stuff and example users like "x2x"

More information about the xorg mailing list