Skip to content
  • Chase Douglas's avatar
    Add cumulative_d{x,y} to SynapticsHwState · 500243ac
    Chase Douglas authored and Peter Hutterer's avatar Peter Hutterer committed
    
    
    These values will be used for clickpad press and drag with two fingers.
    
    While the clickpad button is not pressed, cumulative_d{x,y} will match x
    and y values. Once the clickpad button is pressed, cumulative_d{x,y}
    will be updated with the relative motion of each active touch on the
    touchpad. This allows for dragging with one finger while another finger
    stays stationary holding the clickpad button down.
    
    This is an easier and less latent approach than trying to guess which
    touch was the "dragging" touch.
    
    [fixed build error for mt off]
    
    Signed-off-by: default avatarChase Douglas <chase.douglas@canonical.com>
    Reviewed-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
    500243ac