From: Takashi Iwai Subject: Re: synaptics touchpad doesn't click Date: Wed, 16 Dec 2009 08:11:05 +0100 Message-ID: References: <20091214173450.GB2373@core.coreip.homeip.net> <20091215034127.GC587@ldl.fc.hp.com> <20091215062628.GA12669@core.coreip.homeip.net> <20091215073358.GC12669@core.coreip.homeip.net> <20091215082518.GD12669@core.coreip.homeip.net> <20091216010506.GA26367@ldl.fc.hp.com> <20091216025934.GA2699@core.coreip.homeip.net> <20091216065200.GC20352@ldl.fc.hp.com> <20091216070343.GF2699@core.coreip.homeip.net> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from cantor2.suse.de ([195.135.220.15]:39389 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754426AbZLPHLL (ORCPT ); Wed, 16 Dec 2009 02:11:11 -0500 In-Reply-To: <20091216070343.GF2699@core.coreip.homeip.net> Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Dmitry Torokhov Cc: Alex Chiang , linux-kernel , linux-input@vger.kernel.org At Tue, 15 Dec 2009 23:03:43 -0800, Dmitry Torokhov wrote: > > On Tue, Dec 15, 2009 at 11:52:00PM -0700, Alex Chiang wrote: > > * Dmitry Torokhov : > > > On Tue, Dec 15, 2009 at 06:05:06PM -0700, Alex Chiang wrote: > > > > * Dmitry Torokhov : > > > > > > > > > > The updated patch is below. > > > > > > > > > > -- > > > > > Dmitry > > > > > > > > Should I test this one or wait one more iteration to address > > > > Takashi's last comments? > > > > > > > > > > Actually I think we took the wrong direction with the original patch and > > > we should do what other buttonless devices (bcm5974) do: report touchpad > > > click as left button and have Synaptics X driver provide enhanced > > > support. This way we can have both modes (ClickZones and ClickButtons) > > > and users will get to chose (provided that someone takes time to add > > > that support to Synaptics driver of course ;) ). > > > > > > Could you tell me if the below works for you? > > > > Left clicks work. Right/middle do not (as expected, I guess). > > > > I liked the behaviour of Takashi's patch a little better wrt what > > happens when you try to click/drag, because he disabled movement > > in the click area. > > Are the clicks register only in that special area? Reading Synaptics > product description it sounds like entire surface should be clickable. In the case of ClickZone, the click in the button area is taken as clicks, if I understand correctly. The problem is, however, not about where to click. It's about the precision. When you click a pad, your finger slips a little bit in millimeter. This already corresponds to a few pixels, and the pointer moves away from the point you wanted to click. In my original patch, I disabled the pointer movement in the button area before click for avoiding this problem. Takashi