• Peter Hutterer's avatar
    touchpad: use unaccelerated motion data for scrolling · c8da19b5
    Peter Hutterer authored
    For short and quick scroll gestures, those that should only trigger a few
    lines of scroll the pointer acceleration is wildly unpredictable. Since we
    average the motion of both fingers it's hard enough to intuitively predict
    what the motion will be like. On top of that is the small threshold before we
    start scrolling, so some of the initial motion gets swallowed before we
    accelerate, making the next motion even more unpredictable.
    
    The end result is that multiple seemingly identical finger motions cause
    wildly different scroll motion.
    
    Drop pointer acceleration for two-finger and edge scrolling. This makes short
    scroll motions much more predictable and doesn't seem to have much effect on
    long scroll motions. Plus, in natural scroll mode it really feels like the
    content is stuck to your fingers now. Go wash your hands.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1249365Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
    Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
    c8da19b5
evdev-mt-touchpad-gestures.c 15.7 KB