blob: c98674a32dba1561c9cb8503f6da9b786f739be8 [file] [log] [blame]
# Configure touchpads to use Chromium Multitouch (cmt) X input driver
Section "InputClass"
Identifier "touchpad link"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "Atmel|cyapa"
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 "Input Queue Delay" "0"
# The flexible case can cause accidental physical clicks
Option "Zero Finger Click Enable" "0"
EndSection
Section "InputClass"
Identifier "touchpad link cyapa"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "cyapa"
Option "Pressure Calibration Offset" "-5.2469650828279"
Option "Pressure Calibration Slope" "1.7398671681412"
# Extra filters for Cyapa
Option "Box Width" "1.0"
Option "Box Height" "1.0"
Option "Sensor Jump Filter Enable" "1"
EndSection
Section "InputClass"
Identifier "touchpad link 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"
Option "Fling Buffer Suppress Zero Length Scrolls" "1"
# People complain that light tap clicks don't register
Option "Tap Minimum Pressure" "21.0"
Option "Box Width" "0.3"
Option "Box Height" "0.3"
# Fix for finger merge issue
Option "Finger Merge Filter Enabled" "1"
EndSection