summaryrefslogtreecommitdiff
path: root/quirks/30-vendor-alps.quirks
diff options
context:
space:
mode:
authorKai-Chuan Hsieh <kaichuan.hsieh@canonical.com>2020-09-28 10:43:28 +0800
committerKai-Chuan Hsieh <kaichuan.hsieh@canonical.com>2020-09-28 12:12:51 +0800
commitf0997536a7a3e384bfe64b67c5c1f874656042c6 (patch)
treef591434487e670e724421f7eebb967f8a10a85d2 /quirks/30-vendor-alps.quirks
parent03e24309fa829f2b8044546872612c391cab0de4 (diff)
downloadlibinput-f0997536a7a3e384bfe64b67c5c1f874656042c6.tar.gz
quirks: Customize ALPS i2c touchpad palm detect pressure threshold
ALPS i2c touchpad support ABS_PRESSURE and ABS_MT_PRESSURE capabilities, The default threshold 130 is too easy to across while finger movement. It will cause the cursor stalled after the threshold is achieved, which impacts user experience. Test with some ALPS touchpads 0488:101A, 0488:101D, 0488:101E, the value 180 is good on those platforms. Signed-off-by: Kai-Chuan Hsieh <kaichuan.hsieh@canonical.com>
Diffstat (limited to 'quirks/30-vendor-alps.quirks')
-rw-r--r--quirks/30-vendor-alps.quirks6
1 files changed, 6 insertions, 0 deletions
diff --git a/quirks/30-vendor-alps.quirks b/quirks/30-vendor-alps.quirks
index 6ebcbb85..abdf98ea 100644
--- a/quirks/30-vendor-alps.quirks
+++ b/quirks/30-vendor-alps.quirks
@@ -19,6 +19,12 @@ MatchVendor=0x0002
MatchProduct=0x0008
ModelALPSSerialTouchpad=1
+[ALPS i2c Touchpads]
+MatchUdevType=touchpad
+MatchBus=i2c
+MatchVendor=0x0488
+AttrPalmPressureThreshold=180
+
[ALPS v8 Touchpads]
MatchUdevType=touchpad
MatchBus=ps2