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: Sat, 31 Jul 2010 14:49:07 +0200 Message-ID: <4C541BC3.9000100@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> <4C53471A.9080001@tudelft.nl> <4C53ECB4.2080700@euromail.se> <20100731093312.GA3461@core.coreip.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:53096 "EHLO ch-smtp01.sth.basefarm.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751938Ab0GaMtf (ORCPT ); Sat, 31 Jul 2010 08:49:35 -0400 In-Reply-To: <20100731093312.GA3461@core.coreip.homeip.net> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov Cc: =?ISO-8859-1?Q?=C9ric_Piel?= , "linux-input@vger.kernel.org" , Florian Ragwitz On 07/31/2010 11:33 AM, Dmitry Torokhov wrote: [...] >> This sounds like a misunderstanding. To rephrase: the suggestion is to always >> send the last known one-finger touch point, and to update that point only when >> there is a single finger on the pad. >> > > This would break two-finger scrolling mode of synaptics X driver. I envision synaptics being MT-aware at some point, but alright, the idea is too radical at this stage. Back to the original problem. When adding the second finger, the first finger will actually be in one of the four corners of the detected rectangle, correct? So how about keeping as a state what corner of the rectangle represents the original touch, and continue to report that corner as ABS_X/Y during a two-finger touch? Cheers, Henrik