You are not logged in.
Hi, everyone!
I recently came into a problem on setting up touchpad multitouch gestures on my Toshiba Chromebook CB30. I have installed the xf86-input-cmt driver successfully. I can actually see my 3 fingers swiping recongized by libinput-debug-events output.
event12 GESTURE_SWIPE_UPDATE +3.70s 3 0.00/-0.97 ( 0.00/-2.62 unaccelerated)
event12 GESTURE_SWIPE_UPDATE +3.79s 3 0.00/-0.49 ( 0.00/-1.31 unaccelerated)
event12 GESTURE_SWIPE_UPDATE +3.99s 3 0.00/-0.49 ( 0.00/-1.31 unaccelerated)
event12 GESTURE_SWIPE_UPDATE +4.08s 3 0.00/-0.49 ( 0.00/-1.31 unaccelerated)
event12 GESTURE_SWIPE_END +4.28s 3
event12 POINTER_MOTION +5.25s -2.87/ 0.00
event12 POINTER_MOTION +5.26s -5.73/ 0.00
event12 POINTER_MOTION +5.27s -7.28/ 5.83
event12 POINTER_MOTION +5.28s -8.74/ 7.28
event12 POINTER_MOTION +5.29s -8.74/ 10.20But the thing is that I often encounter screen jumps on touchpad swiping. It was as if I just scrolled the screen up and down quickly (yes, it's scrolling up and down, not just scrolling up or down). The same scrolling effects occur to pinching gestures.
Here is the revelent xorg configuration files. I did not change anything from xf86-input-cmt.
/etc/X11/xorg.conf.d/40-touchpad-cmt.conf
# Configure touchpads to use Chromium Multitouch (cmt) X input driver
Section "InputClass"
Identifier "touchpad"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "cmt"
Option "AccelerationProfile" "-1"
Option "AccelerationScheme" "none"
Option "AccelerationNumerator" "0"
Option "AccelerationDenominator" "1"
Option "AccelerationThreshold" "0"
Option "AccelSpeed" "-1"
Option "Scroll Buttons" "0"
Option "Scroll Axes" "1"
Option "Scroll X Out Scale" "0.1"
Option "Scroll Y Out Scale" "0.1"
#Some Tweaks by hugegreenbug
Option "Tap Drag Enable" "1"
Option "Tap Drag Delay" "0.005"
Option "Pointer Sensitivity" "4"
Option "Button Right Click Zone Enable" "0"
# CMT devices potentially process keyboard events
Option "XkbModel" "pc"
Option "XkbLayout" "us"
# Assume a frame interval to handle jitter on the bus
Option "Accel Min dt" "0.003"
EndSection/etc/X11/xorg.conf.d/50-touchpad-cmt-leon.conf
# Configure touchpads to use Chromium Multitouch (cmt) X input driver
Section "InputClass"
Identifier "touchpad leon"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "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"
EndSection
Section "InputClass"
Identifier "touchpad leon cyapa"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
MatchProduct "cyapa"
Option "Pressure Calibration Offset" "-4.01785085724002"
Option "Pressure Calibration Slope" "1.97990685351742"
# Extra filters for Cyapa
Option "Box Width" "0.5"
Option "Box Height" "0.5"
Option "Max Allowed Pressure Change Per Sec" "2000.0"
Option "Max Hysteresis Pressure Per Sec" "2000.0"
Option "Quick Acceleration Factor" "5.0"
Option "Sensor Jump Filter Enable" "1"
# Effectively disabled for moves:
Option "Sensor Jump Max Dist Move" "1.0"
Option "Sensor Jump Min Dist Move" "1.0"
Option "Sensor Jump Max Dist Non-Move" "3.8"
Option "Sensor Jump Min Dist Non-Move" "0.75"
Option "Tap Minimum Pressure" "19.0"
Option "Tap Move Distance" "4.8"
Option "Smooth Accel" "1"
EndSectionI just want to customize touchpad gesture actions by libinput-gestures, I do not want any kind of scrolling on gestures made.
I do not know which exact lines control those kind of behaviour. Can anyone please kindly point out how to make touchpad gestures 'just work'? Any reference to configuration will be appreciated.
Last edited by uu (2017-04-04 18:50:25)
Offline