Skip to content
  • Roman Gilg's avatar
    [Mouse KCM] Avoid changes to touchpads in libinput backend · a4c72417
    Roman Gilg authored
    Summary:
    Similar to evdev backend we need to ignore touchpad devices explicitly in the
    libinput backend because these are also pointer devices.
    
    XInput2 can do this in theory via input classes, but my touchpad did not set
    the class correctly. So just switch to using XInput like in the evdev backend
    to query all pointer devices and then use the XI_TOUCHPAD atom to filter out
    touchpads.
    
    BUG: 395401
    BUG: 395722
    BUG: 396269
    
    Test Plan: Manually
    
    Reviewers: #plasma, hein
    
    Reviewed By: #plasma, hein
    
    Subscribers: acrouthamel, ngraham, plasma-devel
    
    Tags: #plasma
    
    Differential Revision: https://phabricator.kde.org/D15256
    a4c72417