Re: [PATCH] Synaptics TouchPad driver for 2.5.70

Vojtech Pavlik (vojtech@ucw.cz)
Sat, 14 Jun 2003 10:55:52 +0200


On Sat, Jun 14, 2003 at 12:57:14AM +0100, James Simmons wrote:
>
> > > > > Just as a idea for API. How about ABS_AREA or REL_AREA instead of
> > > > > ABS_MISC. The idea is the pressure value returned should be about
> > > > > the same if one presses hard with one finger or softly with a whole
> > > > > hand.
> > > >
> > > > Huh? Force = Pressure x Area ... I think you're mixing up force and
> > > > pressure here.
> > >
> > > OOps. Your right. I'm thinking the hardware returns a force value. What I
> > > meant is since we have the hardware returning the pressure and the area
> > > this data can be used. Knowing the area over which a pressure is applied
> > > is a good thing. What do you think?
> >
> > Definitely. Still it doesn't cover the multi-tap/gesture stuff.
>
> How about EV_AREA
> codes = "which area" 1, 2, 3
> value = "How big of a area"
>
> struct input_event {
> struct timeval time;
> __u16 type; EV_AREA
> __u16 code; AREA_1
> __s32 value; 20
> };

Nice, but no devices are reporting such detailed info. If you have a
multi-finger tap, then the area reported is the area between the
fingers.

-- 
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/