Injecting mouse events into the X server
Aivils Stoss
aivils at latnet.lv
Thu Nov 9 00:25:09 PST 2006
On Ceturtdiena, 9. Novembris 2006 00:12, Erik de Castro Lopo wrote:
> Hi John,
>
> Thanks, this was really useful. A couple of follow on questions.
>
> John Klingler wrote:
> > I use XTest to allow clients to send both pointer and keyboard
> > events to the X server. I'm not sure what you are trying to do
> > so I do not know why you would want to write a driver.
>
> The goal eventually is to replace a really crappy and broken
> binary only driver for a touchscreen I'm trying to use.
>
> For now, I just need to get touchsreen events into X ASAP.
May be this one fit:
http://www.ltn.lv/~aivils/?proj_id=xke
Anyway it need working kernel driver of input device. xke translates
kernel events to X events via XTEST under linux.
Aivils
> > In any case, your X server has to support the XTest extension.
>
> I'm using the standard Xorg server in Ubuntu Dapper.
>
> > (Most do.) You can use xdpyinfo to determine this. You'll get
> > something like:
> >
> > number of extensions: 16
> > BIG-REQUESTS
> > ...
> > XTEST
> > XTestExtension1
>
> I have XTEST, but not XTestExtension1. Is there some way this can be
> enabled?
>
> Cheers,
> Erik
More information about the xorg
mailing list