aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/hid/hid-multitouch.c
diff options
context:
space:
mode:
authorMikael Wikström <leakim.wikstrom@gmail.com>2019-02-09 19:05:26 +0100
committerJiri Kosina <jkosina@suse.cz>2019-02-14 00:05:43 +0100
commit8d5037dca7c2089f27e5903c2aecfc5bb10d7806 (patch)
tree06c4a7c5852c2051fc53fd4b83571d0fde93a6a3 /drivers/hid/hid-multitouch.c
parentHID: steam: fix boot loop with bluetooth firmware (diff)
downloadwireguard-linux-8d5037dca7c2089f27e5903c2aecfc5bb10d7806.tar.xz
wireguard-linux-8d5037dca7c2089f27e5903c2aecfc5bb10d7806.zip
HID: multitouch: Lenovo X1 Tablet Gen3 trackpoint and buttons
Add support for the trackpoint and three mouse buttons on the type cover of the Lenovo X1 Tablet Gen3. This is the same as with the 2nd generation Lenovo X1 Tablet. Signed-off-by: Mikael Wikström <leakim.wikstrom@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
-rw-r--r--drivers/hid/hid-multitouch.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index dca0a3a90fb8..c02d4cad1893 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -1780,6 +1780,12 @@ static const struct hid_device_id mt_devices[] = {
USB_VENDOR_ID_LENOVO,
USB_DEVICE_ID_LENOVO_X1_TAB) },
+ /* Lenovo X1 TAB Gen 3 */
+ { .driver_data = MT_CLS_WIN_8_DUAL,
+ HID_DEVICE(BUS_USB, HID_GROUP_MULTITOUCH_WIN_8,
+ USB_VENDOR_ID_LENOVO,
+ USB_DEVICE_ID_LENOVO_X1_TAB3) },
+
/* Anton devices */
{ .driver_data = MT_CLS_EXPORT_ALL_INPUTS,
MT_USB_DEVICE(USB_VENDOR_ID_ANTON,