Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755667Ab0LHSFc (ORCPT ); Wed, 8 Dec 2010 13:05:32 -0500 Received: from mail-gy0-f174.google.com ([209.85.160.174]:53120 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755095Ab0LHSFa (ORCPT ); Wed, 8 Dec 2010 13:05:30 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=JokiaY2n8LxYxQyf3EnMa8mvFBQwZrtu1JwmT/sqsgCnbzx1zdnSiIAYbJbV/0eqOR x1rk3GAvF88bXpUoQg1TkhI2wxDS6rxq3c8iyD1Gn/InHWhRo4Ybdz0tXuDlfg5JoEBk 7dU+/A5le8J15alDhy9vybSWwsKz91A3sg0XM= Date: Wed, 8 Dec 2010 10:05:21 -0800 From: Dmitry Torokhov To: Chase Douglas Cc: Henrik Rydberg , Jiri Kosina , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Ping Cheng Subject: Re: [PATCH] input: mt: Add hovering distance axis Message-ID: <20101208180521.GA31522@core.coreip.homeip.net> References: <1291710468-2022-1-git-send-email-rydberg@euromail.se> <4CFFC45C.2040107@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4CFFC45C.2040107@canonical.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1261 Lines: 30 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? Thanks. -- Dmitry -- 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/