Skip to content

Commit c23e204

Browse files
committed
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 <[email protected]>
1 parent 15d90b2 commit c23e204

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/hid/hid-multitouch.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,8 @@ static const struct mt_class mt_classes[] = {
263263
MT_QUIRK_HOVERING |
264264
MT_QUIRK_CONTACT_CNT_ACCURATE |
265265
MT_QUIRK_STICKY_FINGERS |
266-
MT_QUIRK_WIN8_PTP_BUTTONS },
266+
MT_QUIRK_WIN8_PTP_BUTTONS,
267+
.export_all_inputs = true },
267268
{ .name = MT_CLS_EXPORT_ALL_INPUTS,
268269
.quirks = MT_QUIRK_ALWAYS_VALID |
269270
MT_QUIRK_CONTACT_CNT_ACCURATE,

0 commit comments

Comments
 (0)