quirks: add pressure pad quirk for Lenovo ThinkBook 14 G7+ ASP
authorMingcong Bai <jeffbai@aosc.io>
Tue, 12 Nov 2024 03:29:27 +0000 (11:29 +0800)
committerMingcong Bai <jeffbai@aosc.io>
Tue, 12 Nov 2024 03:38:52 +0000 (11:38 +0800)
Some Lenovo ThinkBook 14 G7+ ASP models ship with pressure pads (nominally
"Force Pad"). However, they do not appear to be declared as such by the
firmware.

Add a quirk to make them work.

Signed-off-by: Mingcong Bai <jeffbai@aosc.io>
Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1079>

quirks/50-system-lenovo.quirks

index 852eba01fcb572f19bbd94470b431273cb5192cb..1582542611abdf19fb0cdb3e77d8ea0f7d047fa6 100644 (file)
@@ -376,3 +376,11 @@ MatchName=ITE Tech. Inc. ITE Device(8910) Keyboard
 MatchUdevType=keyboard
 MatchDMIModalias=dmi:*svnLENOVO:*
 AttrKeyboardIntegration=internal
+
+# Some ThinkBook 14 G7+ ASP models come with pressure pads that were not
+# correctly declared as such.
+[Lenovo ThinkBook 14 G7+ ASP touchpad]
+MatchName=*GXTP5100*
+MatchDMIModalias=dmi:*svnLENOVO:*pvrThinkBook14G7+ASP*:*
+MatchUdevType=touchpad
+ModelPressurePad=1