Evdev for a touchscreen w/ digitizer

Peter Hutterer peter.hutterer at who-t.net
Tue Jun 5 01:57:56 PDT 2012


On Tue, Jun 05, 2012 at 10:14:02AM +0200, Cedric Sodhi wrote:
> > On Mon, Jun 04, 2012 at 09:36:10AM +0200, Cedric Sodhi wrote:
> > > On Mon, Jun 04, 2012 at 10:16:53AM +1000, Peter Hutterer wrote:
> > > > On Sun, Jun 03, 2012 at 09:54:28PM +0200, Cedric Sodhi wrote:
> > > > > Hello,
> > > > > 
> > > > > There is an EETI eGalax 0eef:a001 Touchscreen and a Wacpm 056a:0090
> > > > > ISDV4 stylus device.
> > > > > 
> > > > > Evtest output for a simple "tap" on the eGALAX is attached.
> > > > > 
> > > > > With Xorg 1.12.2, inputproto 2.2 on gentoo, "xinput list egalax" yields
> > > > > 
> > > > > eGalax_eMPIA Technology Inc. PCAP MultiTouch Controller id=13   [slave
> 
> Could you think of a reason why "xinput test" shows press & release
> events but "xev --root" does not? It appears that applications such as
> Openbox require events besides the XInput events to work, so when "xev
> --root" does not show any press & release events, certain things don't
> work.

xinput --test uses XI 1.x events and they work a bit differently than core
events. events are delivered from the window underneath the pointer upwards
to the root window until a client selected for those events on the window.
so if you run xev --root but anything below the root window selects for
button events you won't see them on the root window.
I suspect this is the case for you. start a plain xserver and then xev and
you'll likely see the events appear on the root window.

Cheers,
  Peter


More information about the xorg-devel mailing list