Skip to content
  • Chase Douglas's avatar
    Use maximum number of touches reported by evdev · 38b93b71
    Chase Douglas authored and Peter Hutterer's avatar Peter Hutterer committed
    This resolves a regression from da461b91
    
    
    where three touch tap and click actions on certain devices no longer
    work.
    
    Some devices report a higher touch count than the number of touches they
    can provide data for. For example, many Synaptics touchpads can report
    up to five touches, but only provide data for two of them. We need to be
    able to report the correct number of touches for these devices when
    there are three touches. Using the maximum of the reported touch count
    and the number of touches provided ensures the count is accurate for all
    device types.
    
    Signed-off-by: default avatarChase Douglas <chase.douglas@canonical.com>
    Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
    38b93b71