Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756163Ab0LHSlu (ORCPT ); Wed, 8 Dec 2010 13:41:50 -0500 Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:36888 "EHLO ch-smtp01.sth.basefarm.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753896Ab0LHSlt (ORCPT ); Wed, 8 Dec 2010 13:41:49 -0500 Message-ID: <4CFFD11D.4070107@euromail.se> Date: Wed, 08 Dec 2010 19:40:29 +0100 From: Henrik Rydberg User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: Ping Cheng CC: Dmitry Torokhov , Chase Douglas , Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Ping Cheng Subject: Re: [PATCH] input: mt: Add hovering distance axis References: <1291710468-2022-1-git-send-email-rydberg@euromail.se> <4CFFC45C.2040107@canonical.com> <20101208180521.GA31522@core.coreip.homeip.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Originating-IP: 83.248.196.64 X-Scan-Result: No virus found in message 1PQOwJ-0000iR-4e. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1PQOwJ-0000iR-4e 5ac0c26e81de533039eb7ba62437dca9 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1628 Lines: 38 On 12/08/2010 07:20 PM, Ping Cheng wrote: > On Wed, Dec 8, 2010 at 10:05 AM, Dmitry Torokhov > wrote: >> On Wed, Dec 08, 2010 at 09:46:04AM -0800, Chase Douglas wrote: >>> On 12/07/2010 12:27 AM, Henrik Rydberg wrote: >>>> Touch devices capable of hovering, i.e., fingers detected a distance >>>> from the surface, are not supported by the current input MT >>>> protocol. This patch adds ABS_MT_DISTANCE, which may be used to >>>> indicate the distance between the contact and the surface. >>> >>> Have you given thought to calling it ABS_MT_Z instead? I have no real >>> problem with ABS_MT_DISTANCE per se, but ABS_MT_Z is more clearly >>> defined in my head. If I was new to MT development I may wonder if >>> ABS_MT_DISTANCE had anything to do with distance between points or some >>> other object. >> >> X/Y/Z imply that we fully engaged the device and it is 3 dimensional. >> Distance says that we are approaching the device but have not directly >> engaged it yet. >> >> I think ABS_DISTANCE was added at Pings request and ABS_MT_DISTANCE is >> modeled after ST one. Ping, could you refresh my memory why we needed >> ABS_DISTANCE? > > ABS_DISTANCE is used in wacom driver as the distance between the tool > tip and the tablet. Thanks for the confirmation. While at it, what are the units for the distance, for instance for the Cintiq? Henrik -- 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/