summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-01-29 11:25:26 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-01-30 09:39:38 +1000
commit064445364b4775b25ba49c2250b22b169f291147 (patch)
tree0e8c4f5ee3b42dfb4ccfdeeeee2873b054c6be41 /man
parenta357647d3fb918b94efbda98138fb0240a949ef2 (diff)
Support the new Lenovo X1 Carbon 3rd trackpoint buttons
This device has the trackpoint buttons wired up to the touchpad to send BTN_0, BTN_1 and BTN_2 for left, right, middle. This conflicts with previous touchpads that used those event codes for dedicated scroll buttons. Add an option HasTrackpointButtons that can be set via a xorg.conf.d snippets. This option is not intended as a user-set option, rather we expect distributions to ship some conglomerate of udev/hal rules with xorg.conf snippets that take effect. If the option is set, we look at the three affected buttons at the beginning of HandleState and send button events immediately for them. The HW state is reset to neutral and other processing continues. This saves us from having to synchronize these buttons with software buttons (also present on this device), tapping, etc. Since the buttons are physically different and (mentally) associated with the trackpoint device we also don't need to worry about having finger motion event correctly synced up with the button presses - it's acceptable to send the presses before the motion events. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Tested-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
Diffstat (limited to 'man')
-rw-r--r--man/synaptics.man14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/synaptics.man b/man/synaptics.man
index 7083b3a..65fb337 100644
--- a/man/synaptics.man
+++ b/man/synaptics.man
@@ -518,6 +518,20 @@ initialized if
.B Option \*qHasSecondarySoftButtons\*q
is enabled and this option is set in the __xconfigfile__(__filemansuffix__).
.
+.TP
+.BI "Option \*qHasTrackpointButtons\*q \*q" boolean \*q
+This option is only available on selected devices. You should never need to
+set this option manually, your distribution should ship
+__xconfigfile__(__filemansuffix__) snippets to enable this option where
+required. Devices that require this option include the Lenovo X1 Carbon 3rd
+and the Lenovo *50 series (T450, T550, etc.).
+If enabled, the device is considered to have the trackpoint left, middle,
+right buttons wired to the touchpad. If set, this option disables scroll
+buttons, i.e.
+.B Option \*qUpDownScrolling\*q, \*qLeftRightScrolling\*q
+and the respective repeat options for scroll buttons.
+This options is considered a hardware property and is not exposed as
+configurable X Input device property.
.SH CONFIGURATION DETAILS
.SS Area handling