Add touchpad configuration for whiskers
BUG=b:112368033
TEST=built and deployed to nocturne device: configuration was applied
Change-Id: I81f148096f0e187502465a45d07e575bee565104
Reviewed-on: https://chromium-review.googlesource.com/1173937
Commit-Ready: Wei-Han Chen <stimim@chromium.org>
Tested-by: Wei-Han Chen <stimim@chromium.org>
Reviewed-by: Wei-Han Chen <stimim@chromium.org>
diff --git a/40-touchpad-cmt.conf b/40-touchpad-cmt.conf
index 523b991..872634a 100644
--- a/40-touchpad-cmt.conf
+++ b/40-touchpad-cmt.conf
@@ -237,3 +237,32 @@
Option "Max Hysteresis Pressure Per Sec" "100000.0"
Option "Fling Buffer Suppress Zero Length Scrolls" "0"
EndSection
+
+Section "InputClass"
+ Identifier "Whiskers Touchpad"
+ MatchIsTouchpad "on"
+ MatchDevicePath "/dev/input/event*"
+ MatchUSBID "18D1:5030"
+
+ # Use new touchpad gesture stack
+ Option "Touchpad Stack Version" "2"
+ Option "Integrated Touchpad" "1"
+
+ Option "Pressure Calibration Offset" "0.0"
+ Option "Pressure Calibration Slope" "0.44"
+
+ # Enable Stationary Wiggle Filter
+ Option "Stationary Wiggle Filter Enabled" "1"
+
+ Option "Box Width" "0.5"
+ Option "Box Height" "0.5"
+
+ Option "Filter Low Pressure" "1"
+ Option "Pinch Enable" "1"
+ Option "Palm Pressure" "88.0"
+ Option "Palm Filter Top Edge Enable" "1"
+ Option "Tap Exclusion Border Width" "4.0"
+ Option "Palm Edge Zone Width" "7.0"
+ Option "Smooth Accel" "1"
+ Option "Tap Minimum Pressure" "15.0"
+EndSection