lkml.org 
[lkml]   [2003]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Synaptics TouchPad driver for 2.5.70
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/

\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.115 / U:1.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site