Commit 4122db68 authored by Peter Hutterer's avatar Peter Hutterer

conf: automatically enable the top softbutton area for the new Lenovos

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 18dae625
......@@ -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>
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment