From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henrik Rydberg Subject: Re: [PATCH 7/7] elantech: average the two coordinates when 2 fingers Date: Sun, 01 Aug 2010 09:36:42 +0200 Message-ID: <4C55240A.8010105@euromail.se> References: <4C1FD2B0.1080504@tudelft.nl> <4C1FD454.4050807@tudelft.nl> <20100721033655.GA9070@core.coreip.homeip.net> <4C532009.4020103@tudelft.nl> <4C533DC3.9070001@euromail.se> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:51483 "EHLO ch-smtp02.sth.basefarm.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751425Ab0HAHhN (ORCPT ); Sun, 1 Aug 2010 03:37:13 -0400 In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Chris Bagwell Cc: =?ISO-8859-1?Q?=C9ric_Piel?= , Dmitry Torokhov , "linux-input@vger.kernel.org" , Florian Ragwitz On 07/31/2010 09:53 PM, Chris Bagwell wrote: [...] > I've seen xf86-input-synaptics patches floating around that try to detect > jumps-because-of-averaging from the size of delta and discard but it is easy > to be mistaken. Probably its better to detect BTN_TOOL_DOUBLETAP > transitions back to 0 and treating similar to both fingers being lifted to > account for expected jump. Looks good. Detecting "finger configuration changed" based on the number of fingers is probably the closest one can get to MT behavior without actually using it. Henrik