summaryrefslogtreecommitdiffstats
path: root/Documentation/input/event-codes.txt
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-07-22 02:51:35 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-07-23 07:20:48 +0200
commitf62d14a8072b9756db36ba394e2b267470a40240 (patch)
tree96a350b2e5a479fff5f46e25c86e288f77cfab9c /Documentation/input/event-codes.txt
parentInput: fix defuzzing logic (diff)
downloadlinux-f62d14a8072b9756db36ba394e2b267470a40240.tar.xz
linux-f62d14a8072b9756db36ba394e2b267470a40240.zip
Input: document INPUT_PROP_TOPBUTTONPAD
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'Documentation/input/event-codes.txt')
-rw-r--r--Documentation/input/event-codes.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/Documentation/input/event-codes.txt b/Documentation/input/event-codes.txt
index f1ea2c69648d..c587a966413e 100644
--- a/Documentation/input/event-codes.txt
+++ b/Documentation/input/event-codes.txt
@@ -281,6 +281,19 @@ gestures can normally be extracted from it.
If INPUT_PROP_SEMI_MT is not set, the device is assumed to be a true MT
device.
+INPUT_PROP_TOPBUTTONPAD:
+-----------------------
+Some laptops, most notably the Lenovo *40 series provide a trackstick
+device but do not have physical buttons associated with the trackstick
+device. Instead, the top area of the touchpad is marked to show
+visual/haptic areas for left, middle, right buttons intended to be used
+with the trackstick.
+
+If INPUT_PROP_TOPBUTTONPAD is set, userspace should emulate buttons
+accordingly. This property does not affect kernel behavior.
+The kernel does not provide button emulation for such devices but treats
+them as any other INPUT_PROP_BUTTONPAD device.
+
Guidelines:
==========
The guidelines below ensure proper single-touch and multi-finger functionality.