HID: multitouch: Add required quirk for Synaptics 0xcd7e device
authorRahul Rameshbabu <sergeantsagara@protonmail.com>
Sun, 17 Sep 2023 16:18:43 +0000 (16:18 +0000)
committerJiri Kosina <jkosina@suse.cz>
Thu, 5 Oct 2023 10:50:34 +0000 (12:50 +0200)
Register the Synaptics device as a special multitouch device with certain
quirks that may improve usability of the touchpad device.

Reported-by: Rain <rain@sunshowers.io>
Closes: https://lore.kernel.org/linux-input/2bbb8e1d-1793-4df1-810f-cb0137341ff4@app.fastmail.com/
Signed-off-by: Rahul Rameshbabu <sergeantsagara@protonmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-multitouch.c

index 521b2ff..8db4ae0 100644 (file)
@@ -2146,6 +2146,10 @@ static const struct hid_device_id mt_devices[] = {
        /* Synaptics devices */
        { .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT,
                HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
+                       USB_VENDOR_ID_SYNAPTICS, 0xcd7e) },
+
+       { .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT,
+               HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
                        USB_VENDOR_ID_SYNAPTICS, 0xce08) },
 
        { .driver_data = MT_CLS_WIN_8_FORCE_MULTI_INPUT,