Bug 92834

Summary: Add 3-finger pinch support
Product: Wayland Reporter: Bastien Nocera <bugzilla>
Component: libinputAssignee: Peter Hutterer <peter.hutterer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer, tigersoldi
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Bastien Nocera 2015-11-05 12:46:20 UTC
Bug 85881 only implemented 2-finger pinch. I'd like to be able to have 3-finger pinch getting to the overview on my touchpad, as it does on touchscreens.
Comment 1 Caibin Chen 2016-01-06 07:01:35 UTC
Maybe we can use the same strategy as 2fg pinch. Just detect swipe by checking the moving directions of all fingers. Non-swipe gestures are always considered as pinch.
Comment 2 Peter Hutterer 2016-01-08 04:03:01 UTC
There's a big problem with 3-finger pinch gestures that we'll face on many touchpads, particularly the current synaptics generation: we sometimes can't tell the difference between a swipe and a pinch gesture. Unless the thumb is placed down as first or second finger, we won't get positional information and the data stream from a three-finger swipe and three-finger pinch is identical.

Until we get RMI4 over SMBus in the kernel, this will be a problem.
Comment 4 Peter Hutterer 2016-01-22 02:20:08 UTC
commit a4adea1646606cd386015ecf13391af3a2a0ccd5
Merge: 82335b0 cab2c16
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Jan 20 15:38:17 2016 +1000

    Merge branch 'wip/3-finger-pinch-gesture'

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.