mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-15 15:04:27 +08:00
HID: multitouch: do not filter mice nodes
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: Benjamin Tissoires <benjamin.tissoires@redhat.com>
This commit is contained in:
parent
15d90b2422
commit
c23e2043d5
@ -263,7 +263,8 @@ static const struct mt_class mt_classes[] = {
|
|||||||
MT_QUIRK_HOVERING |
|
MT_QUIRK_HOVERING |
|
||||||
MT_QUIRK_CONTACT_CNT_ACCURATE |
|
MT_QUIRK_CONTACT_CNT_ACCURATE |
|
||||||
MT_QUIRK_STICKY_FINGERS |
|
MT_QUIRK_STICKY_FINGERS |
|
||||||
MT_QUIRK_WIN8_PTP_BUTTONS },
|
MT_QUIRK_WIN8_PTP_BUTTONS,
|
||||||
|
.export_all_inputs = true },
|
||||||
{ .name = MT_CLS_EXPORT_ALL_INPUTS,
|
{ .name = MT_CLS_EXPORT_ALL_INPUTS,
|
||||||
.quirks = MT_QUIRK_ALWAYS_VALID |
|
.quirks = MT_QUIRK_ALWAYS_VALID |
|
||||||
MT_QUIRK_CONTACT_CNT_ACCURATE,
|
MT_QUIRK_CONTACT_CNT_ACCURATE,
|
||||||
|
Loading…
Reference in New Issue
Block a user