[PATCH libinput] touchpad: implement edge-based basic palm detection

Hans de Goede hdegoede at redhat.com
Fri Jul 11 02:04:50 PDT 2014


Hi,

On 07/11/2014 08:34 AM, Daniel Martin wrote:
> On Fri, Jul 11, 2014 at 11:08:53AM +1000, Peter Hutterer wrote:
>> A large part of palm events are situated on the far edges of the touchpad. In
>> a test run on a T440s while typing a long email all but 2 touch points were
>> located in the outer ~5% of the touchpad. Define a 10% exclusion zone on the
>> left and right edges in which new touchpoint is automatically assigned to be a
>> palm.
>>
>> A finger may move into that exclusion zone without being marked as palm, it
>> just can't start in one.
>>
>> On clickpads, the exclusion zone does not extend into the software buttons.
>>
>> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
>> ---
> 
> I don't have the big picture (of libinput) atm. Does this stand in the
> way of edge-scolling (in the future)?

I've adding edge-scrolling on my to-do list (after a bunch of other
higher prio items). I agree with Peter that it is best to just move
forward with this, and to figure out how this interacts with edge-scrolling
when we implement edge-scrolling.

The patch looks good to me and is:

Reviewed-by: Hans de Goede <hdegoede at redhat.com>

Regards,

Hans


p.s.

Peter, Should we perhaps do something similar for the good old xf86-input-synapatics ?



More information about the wayland-devel mailing list