Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754183Ab0LTIRs (ORCPT ); Mon, 20 Dec 2010 03:17:48 -0500 Received: from leo.clearchain.com ([199.73.29.74]:22465 "EHLO mail.clearchain.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753913Ab0LTIRr (ORCPT ); Mon, 20 Dec 2010 03:17:47 -0500 Date: Mon, 20 Dec 2010 18:17:34 +1000 From: Peter Hutterer To: Henrik Rydberg Cc: Chase Douglas , Dmitry Torokhov , Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] input: mt: Interface and MT_TOOL documentation updates Message-ID: <20101220081734.GB17764@barra.redhat.com> References: <1292001842-5000-1-git-send-email-rydberg@euromail.se> <4D065BDE.5020107@canonical.com> <4D068E3C.8080100@euromail.se> <4D06A60D.7010409@canonical.com> <4D06AB66.8090909@euromail.se> <20101214043635.GB12059@salty.local> <4D073472.10104@euromail.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D073472.10104@euromail.se> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender is SPF-compliant, not delayed by milter-greylist-4.0.1 (mail.clearchain.com [127.0.0.1]); Mon, 20 Dec 2010 18:47:39 +1030 (CST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2359 Lines: 52 [sorry, got stuck in my outbox for some reason] On Tue, Dec 14, 2010 at 10:10:10AM +0100, Henrik Rydberg wrote: > On 12/14/2010 05:36 AM, Peter Hutterer wrote: > > > On Tue, Dec 14, 2010 at 12:25:26AM +0100, Henrik Rydberg wrote: > >>>> The envelope contacts serve as a way to detect a small area of fingers or a > >> > >>>> large area of fingers. There is nothing inherently problematic with having one > >>>> or three or more such contacts. > >>> > >>> Then I'm more confused :). > >>> > >>> I see one problem: devices that report two touch points, (X1, Y1) and > >>> (X2, Y2), but in reality the touches could be at (X1, Y2) and (X2, Y1) > >>> instead. Using a rectangle helps resolve this issue for panning and > >>> pinching, though not for rotation. > >> > >> > >> If panning and pinching and rotation could all be recovered properly, then the > >> individual contacts could actually have been reconstructed properly in the first > >> place. This is the whole point - there is not enough information available for > >> rotation to be recovered properly. > > > > can you post an example event stream of the MT_ENVELOPE tool? I'm having > > trouble wrapping my head around it. > > > Here is an example for you: You sit in a car. You turn your steering wheel left > or right to follow the road. Now, imagine that 40% of the time, when you turn > left, the car actually turns right. This is the behavior you get from the raw > data. Now, instead soak your gloves in soap. At least now you know that your car > will go straight 100% of the time. The MT_ENVELOPE tool is the soapy glove. > That's all there is to it. > > The synaptics driver patch sent recently contains an example event stream > generator, in case you want to dwell on more details. > > Personally, I am done bending myself backwards to support "old" or "semi-mt" > hardware I never use myself. If somebody cares deeply enough, send a patch. Or > forever hold your peace. thanks, I understood the concept but I was trying to get the actual event stream out of this patch set. I missed the synaptics one, makes sense now. Cheers, Peter -- 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/