• Benjamin Tissoires's avatar
    HID: multitouch: do not filter mice nodes · c23e2043
    Benjamin Tissoires authored
    It was a good idea at the time to not create a mouse node for the
    multitouch touchscreens, but:
    - touchscreens following the Win 8 protocol should not have this
      disturbing mouse node anymore, or if they have, it should be
      used for something else (like a joystick attached to the screen)
    - touchpads have it, and they should not use it unless there is a bug,
      but when the laptop has a trackstick, the data are reported through this
      mouse node.
    
    So instead of whitelisting all of the devices that have a need for the
    mouse node, just export it.
    hid-input.c will append a suffix to it ('Mouse'), so users will eventually
    see if something goes wrong.
    Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
    c23e2043
hid-multitouch.c 58.7 KB