Re: [PATCH] Synaptics TouchPad driver for 2.5.70

James Simmons
2003-06-13T23:43:30Z

> > > > 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
};