HID: multitouch: Add support for Google Whiskers Touchpad
authorMarek Maślanka <mm@semihalf.com>
Tue, 5 Apr 2022 15:04:07 +0000 (17:04 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 21 Apr 2022 08:24:35 +0000 (10:24 +0200)
The Google Whiskers touchpad does not work properly with the default
multitouch configuration. Instead, use the same configuration as Google
Rose.

Signed-off-by: Marek Maslanka <mm@semihalf.com>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c

index 0dece60..6bb3890 100644 (file)
@@ -2184,6 +2184,9 @@ static const struct hid_device_id mt_devices[] = {
        { .driver_data = MT_CLS_GOOGLE,
                HID_DEVICE(HID_BUS_ANY, HID_GROUP_ANY, USB_VENDOR_ID_GOOGLE,
                        USB_DEVICE_ID_GOOGLE_TOUCH_ROSE) },
+       { .driver_data = MT_CLS_GOOGLE,
+               HID_DEVICE(BUS_USB, HID_GROUP_MULTITOUCH_WIN_8, USB_VENDOR_ID_GOOGLE,
+                       USB_DEVICE_ID_GOOGLE_WHISKERS) },
 
        /* Generic MT device */
        { HID_DEVICE(HID_BUS_ANY, HID_GROUP_MULTITOUCH, HID_ANY_ID, HID_ANY_ID) },