Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753965Ab0LFSka (ORCPT ); Mon, 6 Dec 2010 13:40:30 -0500 Received: from adelie.canonical.com ([91.189.90.139]:53877 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752052Ab0LFSk3 (ORCPT ); Mon, 6 Dec 2010 13:40:29 -0500 Message-ID: <4CFD2E15.50105@canonical.com> Date: Mon, 06 Dec 2010 10:40:21 -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 , Ping Cheng , Chris Bagwell , Peter Hutterer , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] input: mt: Move tracking and pointer emulation to input-mt (rev2) References: <1291224069-11770-1-git-send-email-rydberg@euromail.se> In-Reply-To: <1291224069-11770-1-git-send-email-rydberg@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: 1092 Lines: 21 On 12/01/2010 09:21 AM, Henrik Rydberg wrote: > The drivers using the type B protocol all report tracking information > the same way. The contact id is semantically equivalent to > ABS_MT_SLOT, and the handling of ABS_MT_TRACKING_ID only complicates > the driver. The situation can be improved upon by providing a common > pointer emulation code, thereby removing the need for the tracking id > in the driver. This patch moves all tracking event handling over to > the input core, simplifying both the existing drivers and the ones > currently in preparation. When two or more fingers are down, one of the fingers controls ABS_{X,Y}. I think the aim is to emulate current behavior for synaptics-style touchpads, which average the position in firmware. Thus, we should be averaging the touch positions to generate the ABS_{X,Y} values. -- 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/