Re: [PATCH] Synaptics TouchPad driver for 2.5.70

James Simmons (jsimmons@infradead.org)
Sat, 14 Jun 2003 00:57:14 +0100 (BST)


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

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