Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265652AbTFNImL (ORCPT ); Sat, 14 Jun 2003 04:42:11 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265653AbTFNImL (ORCPT ); Sat, 14 Jun 2003 04:42:11 -0400 Received: from twilight.ucw.cz ([81.30.235.3]:27829 "EHLO twilight.ucw.cz") by vger.kernel.org with ESMTP id S265652AbTFNImG (ORCPT ); Sat, 14 Jun 2003 04:42:06 -0400 Date: Sat, 14 Jun 2003 10:55:52 +0200 From: Vojtech Pavlik To: James Simmons Cc: Peter Berg Larsen , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Synaptics TouchPad driver for 2.5.70 Message-ID: <20030614105552.C12208@ucw.cz> References: <20030614000857.B10851@ucw.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from jsimmons@infradead.org on Sat, Jun 14, 2003 at 12:57:14AM +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1473 Lines: 40 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/