quirks: add pressure pad quirk for Lenovo ThinkBook 14 G7+ ASP

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>
This commit is contained in:
Mingcong Bai 2024-11-12 11:29:27 +08:00
parent b2b0756e4e
commit 97adececa0

View 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