[PATCH:evdev] Add touchscreen ABS_RX/ABS_Z quirk.

Peter Hutterer peter.hutterer at who-t.net
Wed Dec 2 01:27:58 PST 2009


On Wed, Dec 02, 2009 at 09:20:14AM +0100, Rémi Cardona wrote:
> Le 02/12/2009 01:01, Peter Hutterer a écrit :
> > Many touchscreens (e.g. HP TouchSmart) send touch events through ABS_Z and
> > ABS_RX instead of X/Y. ABS_X and ABS_Y are in fact dead.
> > For these devices, we simply map those two axes to x/y.
> >
> > This patch assumes that any device with ABS_RX but not ABS_RY needs this
> > quirk. I haven't seen evidence to the contrary yet.
> >
> > Tested on a HP TouchSmart.
> >
> > Signed-off-by: Peter Hutterer<peter.hutterer at who-t.net>
> 
> Shouldn't that sort of quirks be in the kernel?

yeah, you're right. i spent the arvo looking at the kernel's hid code and it
turned out to be a three-liner anyway.

Cheers,
  Peter


More information about the xorg-devel mailing list