Add pressure calibration for Celes's touchpad
This CL adds a pressure calibration into the tree for Celes's
touchpad. Previously there were no custom calibrations, but
now that we have a working config for the FW I was able to compute
the values.
Similarly we copy a few of the gestures config parameters from
Samus (which had the same TP controller) to tweak gesture performance
slightly.
BUG=chrome-os-partner:43565
TEST=manually deployed on my Celes performance is good and taps/palms
seem to work well with the new values.
Change-Id: Iac01e62efce697f72ee61ba43f72b687320ba7ea
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/320790
Reviewed-by: Dennis Kempin <denniskempin@google.com>
diff --git a/50-touchpad-cmt-celes.conf b/50-touchpad-cmt-celes.conf
index b12bcbf..9df27db 100644
--- a/50-touchpad-cmt-celes.conf
+++ b/50-touchpad-cmt-celes.conf
@@ -8,4 +8,25 @@
Option "Integrated Touchpad" "1"
Option "Zero Finger Click Enable" "0"
Option "Palm Pressure" "150"
+ Option "Tap Minimum Pressure" "15.0"
+
+ # Enable Stationary Wiggle Filter
+ Option "Stationary Wiggle Filter Enabled" "1"
+ Option "Finger Moving Energy" "0.04"
+ Option "Finger Moving Hysteresis" "0.02"
+
+ Option "Box Width" "0.5"
+ Option "Box Height" "0.5"
+
+ # Pressure calibration results:
+ # Probe Diameter Measured Expected Calibrated
+ # 0 3.90 25.98 11.95 2.86
+ # 1 5.70 32.00 25.52 11.46
+ # 2 7.70 60.07 46.57 51.55
+ # 3 9.90 85.87 76.98 88.40
+ # 4 11.70 103.96 107.51 114.24
+ # 5 13.90 117.78 151.75 133.97
+ # 6 17.80 128.31 248.85 149.02
+ Option "Pressure Calibration Offset" "-34.2465537817"
+ Option "Pressure Calibration Slope" "1.42827810904"
EndSection