Bug 90526 - Allow left-clicks during 2fg clickfinger
Summary: Allow left-clicks during 2fg clickfinger
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 90528
Blocks: 90261
  Show dependency treegraph
 
Reported: 2015-05-20 05:10 UTC by Peter Hutterer
Modified: 2015-06-04 00:03 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Peter Hutterer 2015-05-20 05:10:08 UTC
Follow-up from Bug 90261.

If clickfinger is enabled, two fingers on the touchpad cause a right click. In some cases, this is the wrong thing to do. e.g. moving the cursor with an index finger, then clicking with a thumb at the bottom of the touchpad.

Observations from OS X:
* a thumb press is ignored for the finger count, so thumb + 1 fg -> left, thumb + 2fg -> right
* for two fingers, if they're too far apart only a single finger click is triggered
* there appears to be either some zone at the bottom of the pad or some timeout so that sometimes using second finger to click won't trigger a right click. Couldn't figure out what the exact conditions were here.

Not sure what the exact distances are, they seem to change with the vertical difference - East-West it's about 5-6cm, North-South it's closer to 3-4, anything else is somewhere in between.
Comment 1 Peter Hutterer 2015-06-03 05:53:18 UTC
patchset starting here: http://lists.freedesktop.org/archives/wayland-devel/2015-June/022417.html
Comment 2 Peter Hutterer 2015-06-04 00:01:57 UTC
commit df83144457176e454953d2a580a8f28e73f4a677
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Jun 3 12:15:51 2015 +1000

    touchpad: impose maximum distance limits on clickfingers


and the follow-up:


commit 8af1f4b08536ca2d74950026eb4d210142dbf6fc
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Wed Jun 3 14:27:43 2015 +1000

    touchpad: on non-resolution touchpads, use 30% as maximum clickfinger spread


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.