quirks: add Lenovo touchpad quirk in a generic way

Matching in vendor and product covers many models as possible.

01E8 product is always haptic.

01E0 can be or not haptic, leave it outside this and mantain it per
system model. When the kernel detects haptic touchpads the ones that
cannot be differenciated won't need to have quirk neither.

Signed-off-by: David Santamaría Rogado <howl.nsp@gmail.com>
(cherry picked from commit a525b30326)

Part-of: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1434>
This commit is contained in:
David Santamaría Rogado 2025-12-23 15:08:43 +01:00 committed by Peter Hutterer
parent f20f4c54a2
commit 7522cb9bae

View file

@ -0,0 +1,10 @@
# Do not edit this file, it will be overwritten on update
# "GXTP5100 Touchpad": pressure touchpad mostly used in Lenovo laptops.
# Match vid and pid as it can have other names.
[Lenovo Haptic Touchpad (Goodix)]
MatchBus=i2c
MatchVendor=0x27C6
MatchProduct=0x01E8
MatchUdevType=touchpad
ModelPressurePad=1