Skip to content

Commit f62d14a

Browse files
whotdtor
authored andcommitted
Input: document INPUT_PROP_TOPBUTTONPAD
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
1 parent 50c5d36 commit f62d14a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Documentation/input/event-codes.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,19 @@ gestures can normally be extracted from it.
281281
If INPUT_PROP_SEMI_MT is not set, the device is assumed to be a true MT
282282
device.
283283

284+
INPUT_PROP_TOPBUTTONPAD:
285+
-----------------------
286+
Some laptops, most notably the Lenovo *40 series provide a trackstick
287+
device but do not have physical buttons associated with the trackstick
288+
device. Instead, the top area of the touchpad is marked to show
289+
visual/haptic areas for left, middle, right buttons intended to be used
290+
with the trackstick.
291+
292+
If INPUT_PROP_TOPBUTTONPAD is set, userspace should emulate buttons
293+
accordingly. This property does not affect kernel behavior.
294+
The kernel does not provide button emulation for such devices but treats
295+
them as any other INPUT_PROP_BUTTONPAD device.
296+
284297
Guidelines:
285298
==========
286299
The guidelines below ensure proper single-touch and multi-finger functionality.

0 commit comments

Comments
 (0)