From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chase Douglas Subject: Re: [PATCH 3/3] input: mt: Move tracking and pointer emulation to input-mt (rev2) Date: Mon, 06 Dec 2010 10:40:21 -0800 Message-ID: <4CFD2E15.50105@canonical.com> References: <1291224069-11770-1-git-send-email-rydberg@euromail.se> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: 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 In-Reply-To: <1291224069-11770-1-git-send-email-rydberg@euromail.se> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Henrik Rydberg Cc: Dmitry Torokhov , Jiri Kosina , Ping Cheng , Chris Bagwell , Peter Hutterer , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org 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