summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Wang <charles.goodix@gmail.com>2023-01-11 17:16:13 +0800
committerPeter Hutterer <peter.hutterer@who-t.net>2023-01-16 14:51:44 +1000
commit6420178b5fdb5f9c5f353556703ae151891297fd (patch)
treeef8b589be87f887a5096f3c4eaea2c655e5ca423
parentcb09f05af89e6b0833c1e6da2ec32fdb463876ec (diff)
downloadlibinput-6420178b5fdb5f9c5f353556703ae151891297fd.tar.gz
quirks: add quirks for Dell Precision5680 Touchpad
This touchpad is a pressure pad and needs the pressure handling disable. Fixes https://gitlab.freedesktop.org/libinput/libinput/-/issues/849 Signed-off-by: Charles Wang <charles.goodix@gmail.com> Cherry-pick adjusted to work with the AttrEventCodeDisable quirk (cherry picked from commit 29a49e968e67eb7bf6d63c9f93b06ee983772018)
-rw-r--r--quirks/50-system-dell.quirks8
1 files changed, 8 insertions, 0 deletions
diff --git a/quirks/50-system-dell.quirks b/quirks/50-system-dell.quirks
index 2400ff05..f09fd822 100644
--- a/quirks/50-system-dell.quirks
+++ b/quirks/50-system-dell.quirks
@@ -113,3 +113,11 @@ ModelDellCanvasTotem=1
MatchName=AT Translated Set 2 keyboard
MatchDMIModalias=dmi:*:svnDellInc.:pnLatitude52902-in-1:*
ModelTabletModeNoSuspend=1
+
+# This is a true pressurepad so disable pressure for contact size
+# https://gitlab.freedesktop.org/libinput/libinput/-/issues/849
+[Dell Precision5680 Touchpad]
+MatchBus=i2c
+MatchVendor=0x27C6
+MatchProduct=0x0F60
+AttrEventCodeDisable=ABS_MT_PRESSURE;ABS_PRESSURE;