Fix Caroline's touchpad Pressure calibration
Previously, there was no gestures config for Caroline -- it was just
using all the defaults, which is a little unpredictable for Atmel. When
fixing the pressure calibration for Kevin, I noticed that one had never
been set up for Caroline when everything else was duplicated.
In this CL I add a nicely pressure calibrated gestures config
BUG=chrome-os-partner:63063
TEST=emerged and deployed on a Caroline. Tap to click, and palm
detection work well.
Change-Id: I8f84568de60179fb71d335be2da6f458314251d0
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/444425
Reviewed-by: Andrew de los Reyes <adlr@chromium.org>
diff --git a/50-touchpad-cmt-caroline.conf b/50-touchpad-cmt-caroline.conf
new file mode 100644
index 0000000..0552c79
--- /dev/null
+++ b/50-touchpad-cmt-caroline.conf
@@ -0,0 +1,21 @@
+# Configure touchpads to use Chromium Multitouch (cmt) X input driver
+Section "InputClass"
+ Identifier "touchpad caroline atmel"
+ MatchIsTouchpad "on"
+ MatchDevicePath "/dev/input/event*"
+ MatchProduct "Atmel"
+ Option "Touchpad Stack Version" "2"
+ Option "Integrated Touchpad" "1"
+ Option "Tap Minimum Pressure" "15.0"
+ # Pressure calibration results:
+ # Probe Diameter Measured Expected Calibrated
+ # 0 3.90 17.70 11.95 2.17
+ # 1 5.70 25.00 25.52 20.05
+ # 2 7.70 33.00 46.57 39.64
+ # 3 9.90 53.00 76.98 88.63
+ # 4 11.70 65.00 107.51 118.03
+ # 5 13.90 69.57 151.75 129.23
+ # 6 17.80 63.97 248.85 115.50
+ Option "Pressure Calibration Offset" "-41.1882710243"
+ Option "Pressure Calibration Slope" "2.44946377494"
+EndSection