libinput/doc
Peter Hutterer 79570fd492 touchpad: don't tap for 2fg down, followed by a single finger up
The following sequence currently generates a right-button event:
	finger 1 down
	finger 2 down
	finger 1 up
	finger 2 held down

This is easily triggered with short scroll events. There are two issues here:
first is that the tapping code elsewhere treats any tap with a second finger
down as a left-button tap, not a right button one. So if anything, we should
generate a left button click here, not a right button click.

Arguably, generating a button click here is wrong though, it's not a very well
defined sequence and relatively difficult to trigger intentionally. So the
best solution here is to simply ignore the release event and move straight
back to state HOLD - unless the second finger is released within the timeout.
If the finger is set down again during the timeout, we move straight to
TOUCH_2_HOLD - this could eventually be interpreted as a tap, but not for now.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-09-07 07:55:32 +10:00
..
dot doc: add a diagram for evemu and note that libinput doesn't recordings 2015-08-24 09:36:22 +10:00
style doc: use bootstrap for doxygen styling 2015-07-16 14:15:19 +10:00
svg doc: add pointer acceleration documentation 2015-08-12 14:06:00 +10:00
absolute-axes.dox doc: fix more typos 2015-08-22 16:03:29 +10:00
clickpad-softbuttons.dox touchpad: impose maximum distance limits on clickfingers 2015-06-03 14:43:58 +10:00
device-configuration-via-udev.dox evdev: use LIBINPUT_ATTR_SIZE_HINT for resolutions 2015-07-14 10:12:12 +10:00
faqs.dox doc: fix more typos 2015-08-22 16:03:29 +10:00
gestures.dox doc: fix more typos 2015-08-22 16:03:29 +10:00
libinput.doxygen.in doc: use bootstrap for doxygen styling 2015-07-16 14:15:19 +10:00
Makefile.am doc: add a diagram for evemu and note that libinput doesn't recordings 2015-08-24 09:36:22 +10:00
middle-button-emulation.svg evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
normalization-of-relative-motion.dox doc: fix typos 2015-08-17 16:26:43 +10:00
page-hierarchy.dox doc: add pointer acceleration documentation 2015-08-12 14:06:00 +10:00
palm-detection.dox doc: fix more typos 2015-08-22 16:03:29 +10:00
pointer-acceleration.dox doc: add pointer acceleration documentation 2015-08-12 14:06:00 +10:00
reporting-bugs.dox doc: add a diagram for evemu and note that libinput doesn't recordings 2015-08-24 09:36:22 +10:00
scrolling.dox touchpad: disable 2fg scrolling on Synaptics semi-mt touchpads 2015-07-27 19:34:42 +10:00
seats.dox doc: fix more typos 2015-08-22 16:03:29 +10:00
t440-support.dox doc: improve the T440 documentation a bit 2015-05-28 11:55:59 +10:00
tapping.dox doc: fix more typos 2015-08-22 16:03:29 +10:00
test-suite.dox doc: drop leftovers of Check's selective test running 2015-05-22 08:45:35 +10:00
tools.dox doc: fix more typos 2015-08-22 16:03:29 +10:00
touchpad-edge-scrolling-state-machine.svg touchpad: Add edge-scrolling support 2014-11-25 17:02:30 +10:00
touchpad-softbutton-state-machine.svg touchpad: Route top softbuttons through the trackstick if we've one 2014-09-19 08:20:00 +10:00
touchpad-tap-state-machine.svg touchpad: don't tap for 2fg down, followed by a single finger up 2015-09-07 07:55:32 +10:00
touchpads.dox doc: fix more typos 2015-08-22 16:03:29 +10:00