summaryrefslogtreecommitdiff
path: root/doc/gestures.dox
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-01-07 11:37:20 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-01-20 15:38:13 +1000
commit8234814fe89ab5f945cca1fe7f5012c8c40ba11a (patch)
treed6618ff3237753685bfc995671918a9a28b68159 /doc/gestures.dox
parentd9e1b2603e1c36e262f88c80c7321491656c7836 (diff)
downloadlibinput-8234814fe89ab5f945cca1fe7f5012c8c40ba11a.tar.gz
gestures: add support for three-finger pinch gestures
https://bugs.freedesktop.org/show_bug.cgi?id=92834 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'doc/gestures.dox')
-rw-r--r--doc/gestures.dox16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/gestures.dox b/doc/gestures.dox
index 02ef09ab..8632b8e6 100644
--- a/doc/gestures.dox
+++ b/doc/gestures.dox
@@ -88,4 +88,20 @@ thus suggesting a window movement. libinput only has knowledge of the finger
coordinates (and even then only in device coordinates, not in screen
coordinates) and thus cannot differentiate the two.
+@section gestures_softbuttons Gestures with enabled software buttons
+
+If the touchpad device is a @ref touchpads_buttons_clickpads "Clickpad", it
+is recommended that a caller switches to @ref clickfinger.
+Usually fingers placed in a @ref software_buttons "software button area" is not
+considered for gestures, resulting in some gestures to be interpreted as
+pointer motion or two-finger scroll events.
+
+@image html pinch-gestures-softbuttons.svg "Interference of software buttons and pinch gestures"
+
+In the example above, the software button area is highlighted in red. The
+user executes a three-finger pinch gesture, with the thumb remaining in the
+software button area. libinput ignores fingers within the software button
+areas, the movement of the remaining fingers is thus interpreted as a
+two-finger scroll motion.
+
*/