Commit f183c1c3 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

conf: add more PnPIDs and DMI matches for Lenovos



And expand DMI strings to more precise matches
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 62ef210d
...@@ -37,7 +37,8 @@ ...@@ -37,7 +37,8 @@
</match> </match>
<match <match
key="/org/freedesktop/Hal/devices/computer:system.hardware.version" contains_outof="T440;X240;T540;Helix;S1Yoga"> key="/org/freedesktop/Hal/devices/computer:system.hardware.version"
contains_outof="ThinkPad T440;ThinkPad X240;ThinkPad T540;ThinkPad Helix;ThinkPad S1 Yoga;ThinkPad L440;ThinkPad X1 Carbon 2nd;ThinkPad T431;ThinkPad L540">
<match key="input.product" contains="Synaptics"> <match key="input.product" contains="Synaptics">
<merge key="input.x11_options.ClickPad" type="string">on</merge> <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> <merge key="input.x11_options.SecondarySoftButtonAreas" type="string">58% 0 0 8% 42% 58% 0 8%</merge>
......
...@@ -50,13 +50,14 @@ EndSection ...@@ -50,13 +50,14 @@ EndSection
# the top softbutton area enabled by default. # the top softbutton area enabled by default.
# Affected devices and their PNPIDs # Affected devices and their PNPIDs
# LEN0033: Helix # LEN0033: Helix
# LEN0034: T540 # LEN0034: T431, T540, X1 Carbon
# LEN0035: X240 # LEN0035: X240
# LEN0036: T440 # LEN0036: T440
# LEN0042: Yoga # LEN0042: Yoga
# LEN2004: L440, L540
Section "InputClass" Section "InputClass"
Identifier "Lenovo TrackPoint top software buttons" Identifier "Lenovo TrackPoint top software buttons"
MatchDriver "synaptics" MatchDriver "synaptics"
MatchPnPID "LEN0033*|LEN0034*|LEN0035*|LEN0036*|LEN0042*" MatchPnPID "LEN0033*|LEN0034*|LEN0035*|LEN0036*|LEN0042*|LEN2004*"
Option "SecondarySoftButtonAreas" "58% 0 0 8% 42% 58% 0 8%" Option "SecondarySoftButtonAreas" "58% 0 0 8% 42% 58% 0 8%"
EndSection 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