diff options
-rw-r--r-- | conf/11-x11-synaptics.fdi | 8 | ||||
-rw-r--r-- | conf/50-synaptics.conf | 15 |
2 files changed, 23 insertions, 0 deletions
diff --git a/conf/11-x11-synaptics.fdi b/conf/11-x11-synaptics.fdi index ba79849..a898875 100644 --- a/conf/11-x11-synaptics.fdi +++ b/conf/11-x11-synaptics.fdi @@ -35,5 +35,13 @@ <merge key="input.x11_options.SoftButtonAreas" type="string">0 0 0 0 0 0 0 0</merge> </match> </match> + + <match + key="/org/freedesktop/Hal/devices/computer:system.hardware.version" contains_outof="T440;X240;T540;Helix;S1Yoga"> + <match key="input.product" contains="Synaptics"> + <merge key="input.x11_options.ClickPad" type="string">on</merge> + <merge key="input.x11_options.SecondarySoftButtonAreas" type="string">58% 0 0 8% 42% 58% 0 8%</merge> + </match> + </match> </device> </deviceinfo> diff --git a/conf/50-synaptics.conf b/conf/50-synaptics.conf index dd16ca2..d808e6f 100644 --- a/conf/50-synaptics.conf +++ b/conf/50-synaptics.conf @@ -45,3 +45,18 @@ Section "InputClass" MatchDriver "synaptics" Option "SoftButtonAreas" "0 0 0 0 0 0 0 0" EndSection + +# The Lenovo *40 series has no physical button for the TrackPoint and needs +# the top softbutton area enabled by default. +# Affected devices and their PNPIDs +# LEN0033: Helix +# LEN0034: T540 +# LEN0035: X240 +# LEN0036: T440 +# LEN0042: Yoga +Section "InputClass" + Identifier "Lenovo TrackPoint top software buttons" + MatchDriver "synaptics" + MatchPnPID "LEN0033*|LEN0034*|LEN0035*|LEN0036*|LEN0042*" + Option "SecondarySoftButtonAreas" "58% 0 0 8% 42% 58% 0 8%" +EndSection |