Re: [PATCH] Synaptics TouchPad driver for 2.5.70

Vojtech Pavlik (vojtech@ucw.cz)
Thu, 12 Jun 2003 08:31:00 +0200


On Wed, Jun 11, 2003 at 11:23:48PM +0200, Peter Osterlund wrote:

> Vojtech Pavlik <vojtech@ucw.cz> writes:
>
> > On Wed, Jun 11, 2003 at 08:16:13PM +0200, Peter Osterlund wrote:
> >
> > > The w value is somewhat special and not really a real axis. According
> > > to the Synaptics TouchPad Interfacing Guide
> > > (http://www.synaptics.com/decaf/utilities/ACF126.pdf), W is defined as
> > > follows:
> > >
> > > Value Needed capability Interpretation
> > > W = 0 capMultiFinger Two fingers on the pad.
> > > W = 1 capMultiFinger Three or more fingers on the pad.
> > > W = 2 capPen Pen (instead of finger) on the pad.
> > > W = 3 Reserved.
> > > W = 4-7 capPalmDetect Finger of normal width.
> > > W = 8-14 capPalmDetect Very wide finger or palm.
> > > W = 15 capPalmDetect Maximum reportable width; extremely
> > > wide contact.
> > >
> > > Is there a better way than using ABS_MISC to pass the W information to
> > > user space?
> >
> > We should probably add an EV_MSC, MSC_GESTURE event type for this.
> > That'll be the cleanest solution.
>
> Here is a new patch that sends ABS_ events to user space. I haven't
> modified the XFree86 driver to handle this format yet, but I used
> /dev/input/event* to verify that the driver generates correct data.

I like this one. I'm merging it now. Thanks!

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/