Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756672Ab0LHUos (ORCPT ); Wed, 8 Dec 2010 15:44:48 -0500 Received: from adelie.canonical.com ([91.189.90.139]:48791 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752755Ab0LHUor (ORCPT ); Wed, 8 Dec 2010 15:44:47 -0500 Message-ID: <4CFFEE38.2070609@canonical.com> Date: Wed, 08 Dec 2010 12:44:40 -0800 From: Chase Douglas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Henrik Rydberg CC: Dmitry Torokhov , Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] input: mt: Add an envelope tool type References: <1291721340-22652-1-git-send-email-rydberg@euromail.se> <4CFFC3C2.1080905@canonical.com> <4CFFCD10.5030202@euromail.se> <4CFFD0BF.2020601@canonical.com> <4CFFD3FE.1090103@euromail.se> <4CFFD801.8060704@canonical.com> <4CFFDB35.2020506@euromail.se> In-Reply-To: <4CFFDB35.2020506@euromail.se> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1671 Lines: 38 On 12/08/2010 11:23 AM, Henrik Rydberg wrote: >>>> I suggest merely renaming this to MT_TOOL_RECT to avoid confusion. > >> >> This is really the main point I wanted to make, even though it was >> hidden among other things :). Do you have thoughts here? > > > I think envelope works fine - it is easier to associate with a single point that > the notion of a rectangle. I thought we were talking specifically about two points? If I'm wrong, the following won't make any sense either :). There would be two slots with MT_TOOL_ENVELOPE set to 1. These define the two possible combinations of touch points. I can't see how this concept could be expanded any further than a rectangle without switcing to full MT, thus I think it would be clearer to define it as such. This all drives at the heart of the frustrations felt about evdev property naming and documentation. The envelope tool, as you've proposed, is only useful for defining rectangles. I think leaving it named envelope is just begging for misuse, just as BTN_TOOL_DOUBLETAP has been misused. Perhaps it will be clearer to me why you like the name envelope if I could read the formal documentation that would be merged along with the new property name. The documentation added by the patch just isn't enough to understand what it's for or how to use it, and the discussion so far hasn't left me with the feeling that MT_TOOL_ENVELOPE is the best name. -- Chase -- 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/