From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henrik Rydberg Subject: Re: [PATCH] input: mt: Add hovering distance axis Date: Wed, 08 Dec 2010 19:16:02 +0100 Message-ID: <4CFFCB62.90601@euromail.se> References: <1291710468-2022-1-git-send-email-rydberg@euromail.se> <4CFFC45C.2040107@canonical.com> <20101208180521.GA31522@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-smtp03.sth.basefarm.net ([80.76.149.214]:58885 "EHLO ch-smtp03.sth.basefarm.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755858Ab0LHSQb (ORCPT ); Wed, 8 Dec 2010 13:16:31 -0500 In-Reply-To: <20101208180521.GA31522@core.coreip.homeip.net> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov Cc: Chase Douglas , Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Ping Cheng On 12/08/2010 07:05 PM, 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. Yep, and we will surely start seeing more 3D devices soon, so reserving _Z for those is a given. Thanks, Henrik