From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754854Ab0LNVh0 (ORCPT ); Tue, 14 Dec 2010 16:37:26 -0500 Received: from adelie.canonical.com ([91.189.90.139]:57961 "EHLO adelie.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752407Ab0LNVhX (ORCPT ); Tue, 14 Dec 2010 16:37:23 -0500 Message-ID: <4D07E38C.4020201@canonical.com> Date: Tue, 14 Dec 2010 13:37:16 -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 , Takashi Iwai , Chris Bagwell , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] Input: synaptics - add multitouch packet support References: <1292280948-1933-1-git-send-email-rydberg@euromail.se> <4D06A7B1.6060609@canonical.com> <4D06A90C.90009@euromail.se> In-Reply-To: <4D06A90C.90009@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 On 12/13/2010 03:15 PM, Henrik Rydberg wrote: > On 12/14/2010 12:09 AM, Chase Douglas wrote: > >> On 12/13/2010 02:55 PM, Henrik Rydberg wrote: >>> @@ -638,7 +677,7 @@ static void set_input_params(struct input_dev *dev, struct synaptics_data *priv) >>> __set_bit(BTN_LEFT, dev->keybit); >>> __set_bit(BTN_RIGHT, dev->keybit); >>> >>> - if (SYN_CAP_MULTIFINGER(priv->capabilities)) { >>> + if (SYN_CAP_MULTIFINGER(priv->capabilities) | priv->multitouch) { >> >> ^^ Although I think this is functionally correct, it is nevertheless a >> typo. Note that there's only one '|' where there should be two. > > > Ah, this one was removed but kept popping back in subsequent versions. Will fix, > but not resending now. Henrik, Chris, After some testing this is mostly fine, but I have one of those terrible "integrated buttons" (or whatever we call it) trackpads. When switching to multitouch mode, the cursor will sometimes jump when I go to push the button. Take the following sequence: 1. Touch in top right corner of pad to position cursor 2. Touch in bottom left corner over button 3. Press button, but finger moves a little Step 3 causes the primary coordinates in the synaptics MT protocol to flip to the button-pressing touch. This causes a cursor jump. *Many* times I have gone to press an "Ok" dialog button and found that I accidentally launched an application from my dock :). I think we should perform some rudimentary touch tracking to ensure the same touch is always used for reporting ABS_X/ABS_Y. A simple distance comparison between the two touches, as I implemented in one of my other patches, would suffice. What do you think? Thanks, -- Chase