blob: 0339d6f8ab600a84163307b407897647a2aed3d3 [file] [log] [blame]
# Configure touchpads to use Chromium Multitouch (cmt) X input driver
Section "InputClass"
Identifier "touchpad lumpy"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "Atmel|cyapa"
Option "Touchpad Stack Version" "1"
Option "Integrated Touchpad" "1"
# Disable some causes of delay
Option "IIR b0" "1"
Option "IIR b1" "0"
Option "IIR b2" "0"
Option "IIR b3" "0"
Option "IIR a1" "0"
Option "IIR a2" "0"
Option "IIR Distance Threshold" "1000"
Option "Two Finger Vertical Close Distance Thresh" "35.0"
Option "Fling Buffer Suppress Zero Length Scrolls" "0"
Option "Pinch Enable" "0"
EndSection
Section "InputClass"
Identifier "touchpad lumpy cyapa"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "cyapa"
Option "Pressure Calibration Offset" "-4.0418716653545"
Option "Pressure Calibration Slope" "1.9403694168841"
# Extra filters for Cyapa
Option "Box Width" "1.0"
Option "Box Height" "1.0"
Option "Sensor Jump Filter Enable" "1"
Option "Sensor Jump Min Dist Non-Move" "1.0"
Option "Sensor Jump Min Dist Move" "1.0"
Option "Sensor Jump No Warp Min Dist Move" "0.95"
Option "Non-linearity correction data file" "/usr/share/gestures/lumpy_linearity.dat"
Option "Enable non-linearity correction" "1"
Option "Split Corrector Enabled" "1"
Option "Pinch Enable" "0"
EndSection
Section "InputClass"
Identifier "touchpad lumpy atmel"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "Atmel"
Option "Pressure Calibration Offset" "-15.369282490859"
Option "Pressure Calibration Slope" "1.3219851012421"
# TODO(clchiou): Calibrate bias on X-axis
Option "Touchpad Device Output Bias on X-Axis" "26.68917773528923"
Option "Touchpad Device Output Bias on Y-Axis" "26.68917773528923"
# We see lots of pressure changes under normal use, so raise thresholds
Option "Max Allowed Pressure Change Per Sec" "100000.0"
Option "Max Hysteresis Pressure Per Sec" "100000.0"
EndSection