Add Pressure Calibration for Cyan

This CL adds in an initial pressure Calibration and a tweak
to make the edges of the touchpad work better with the gestures
library as well as allowing lighter taps.

BUG=chrome-os-partner:41302
TEST=manually installed on a Cyan, the touchpad seems to work well
with the changes.

Change-Id: Icc0d7813bd822f1d6a7f1dab4af7fa990a292954
Signed-off-by: Charlie Mooney <charliemooney@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/302980
Reviewed-by: Dennis Kempin <denniskempin@google.com>
diff --git a/50-touchpad-cmt-cyan.conf b/50-touchpad-cmt-cyan.conf
new file mode 100644
index 0000000..7ca28ea
--- /dev/null
+++ b/50-touchpad-cmt-cyan.conf
@@ -0,0 +1,24 @@
+Section "InputClass"
+    Identifier      "touchpad cyan elan"
+    MatchIsTouchpad "on"
+    MatchDevicePath "/dev/input/event*"
+    MatchProduct    "Elan"
+    Option          "Integrated Touchpad" "1"
+    Option          "Touchpad Stack Version" "2"
+    # Pressure calibration results:
+    # Probe Diameter   Measured   Expected   Calibrated
+    # 0     3.90       36.53      11.95      -1.05
+    # 1     5.70       39.96      25.52      17.04
+    # 2     7.70       46.48      46.57      51.40
+    # 3     9.90       52.48      76.98      83.01
+    # 4     11.70      59.15      107.51     118.12
+    # 5     13.90      74.65      151.75     199.77
+    # 6     17.80      115.23     248.85     413.58
+    Option          "Pressure Calibration Offset" "-193.474994174"
+    Option          "Pressure Calibration Slope" "5.26809355904"
+
+    Option          "Palm Edge Zone Width" "2.5"
+    Option          "Tap Exclusion Border Width" "1.0"
+
+    Option          "Tap Minimum Pressure" "10.0"
+EndSection