[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CB32DCA.4090809@euromail.se>
Date: Mon, 11 Oct 2010 17:31:22 +0200
From: Henrik Rydberg <rydberg@...omail.se>
To: Takashi Iwai <tiwai@...e.de>
CC: Chris Bagwell <chris@...bagwell.com>,
Dmitry Torokhov <dmitry.torokhov@...il.com>,
Chase Douglas <chase.douglas@...onical.com>,
linux-input@...r.kernel.org, xorg-devel@...ts.x.org,
Andy Whitcroft <apw@...onical.com>,
linux-kernel@...r.kernel.org,
Peter Hutterer <peter.hutterer@...-t.net>,
Duncan McGreggor <duncan.mcgreggor@...onical.com>
Subject: Re: [PATCH 0/3] Input: synaptics - multitouch and multifinger support
On 10/11/2010 04:49 PM, Takashi Iwai wrote:
[...]
>>> As an example of mess of Clickpad: if you keep your finger on a button
>>> area and another finger on the normal area, you shouldn't trigger the
>>> multi-touch mode, no matter whether it's clicked or not. People tend
>>> to keep the finger on the button before actually dragging.
>>>
>>> But, if you put both fingers in the button area and sliding together,
>>> it should be handled as two-finger scrolling. Also, if you move one
>>> finger on a button area, it should be tracked as a normal pointer
>>> movement.
>>
>>
>> Are you aware of http://bitmath.org/code/multitouch/? The driver was developed
>> to address very similar issues on the macbook trackpads.
>
> Well, I thought Macs don't use the certain areas as virtual buttons
> but determines the button by the number of fingers. Or was it
> changed? If yes, could you point out which source file does it?
The trackpads with integrated button are like clickpads with one button. It
would certainly be interesting to use the clickpad pattern on those as well. For
both types of pads, the bottom area is special. Two-finger scroll works as
normal, while a clicking finger may move around without affecting anything, nor
the number of fingers on the pad.
> I'm looking through the git tree
> http://bitmath.org/git/multitouch.git, but couldn't find out yet...
src/memory.c might be what you are looking for. There are also two unpublished
branches around - one which uses the mtdev library, and one which uses
utouch-grail directly (but with limited functionality).
>>> Another mess is that, as the default setup, the pointer movement is
>>> too sensitive, and when user pushes down the touchpad for clicking,
>>> the pointer moves a few or more pixels. This eventually misses the
>>> target. So, some trick to drag the pointer is necessary for click
>>> action. One of my patches does it by introducing some "move
>>> threshold" value.
>>
>>
>> Also addressed in that project. What I am hoping to see, eventually, is code
>> similar to the core of the multitouch project in something like ginn. This would
>> exercise the whole utouch stack in an extensible way, and finally make
>> multitouch trackpads work the way they are supposed to.
>
> If the messy behavior of clickpad suits with the multi-touch library,
> I have nothing against it, sure. It was just my concern that the
> clickpad-style handling might pollute the code.
I am not sure it has to be messy at all, and it has to reside *somewhere*. I
think something like ginn, or parallel to ginn, is the best long-run place for
it. Submitting clickpad functionality to multitouch for starters would
definitely work in my book.
Cheers,
Henrik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists