Injecting mouse events into the X server
R.L. Horn
lists at eastcheap.org
Tue Nov 7 16:04:30 PST 2006
On Wed, 8 Nov 2006, Erik de Castro Lopo wrote:
> 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.
Well, there's the Xtest stuff, as has already been mentioned. However, if
the end result is going to a kernel driver (i.e. mouse events via
/dev/input/mice), you might be better off just using a named pipe or
socket (a la gpm) to mimic the behavior of the driver.
More information about the xorg
mailing list