Document the top software button behavior
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 12 Jun 2014 01:55:21 +0000 (11:55 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 13 Jun 2014 01:49:45 +0000 (11:49 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/libinput.h

index c231208..54c96e5 100644 (file)
@@ -74,6 +74,27 @@ extern "C" {
  * button area.
  * The exact behavior of the touchpad is implementation-dependent.
  *
+ * Top software button area
+ * ========================
+ * On selected touchpads, the top area of the touchpad is a separate set of
+ * software buttons split into a left, middle and right button area.
+ * Pressing the touchpad down with a finger in those areas will generate
+ * clicks as shown in the diagram below:
+ *
+ * @code
+    +------------------------+
+    |  LEFT | MIDDLE | RIGHT |
+    +------------------------+
+    |                        |
+    |          LEFT          |
+    |                        |
+    +------------------------+
+    |    LEFT    |   RIGHT   |
+    +------------------------+
+ * @endcode
+ * This behavior is enabled on the Lenovo *40 series (T440, T540, T240...)
+ * and the Lenovo Helix, Yoga S1 and Carbon X1 2nd.
+ *
  * Clickfinger
  * ===========
  * On Apple touchpads, no button areas are provided. Instead, use a