summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-multitouch.c
diff options
context:
space:
mode:
authorKai-Heng Feng2019-06-14 10:56:55 +0200
committerJiri Kosina2019-06-26 14:04:26 +0200
commit0a95fc733da375de0688d0f1fd3a2869a1c1d499 (patch)
tree41c1a582a7c05b9a95de7ca62a881e86478d4932 /drivers/hid/hid-multitouch.c
parentHID: logitech-dj: Fix forwarding of very long HID++ reports (diff)
downloadkernel-qcow2-linux-0a95fc733da375de0688d0f1fd3a2869a1c1d499.tar.gz
kernel-qcow2-linux-0a95fc733da375de0688d0f1fd3a2869a1c1d499.tar.xz
kernel-qcow2-linux-0a95fc733da375de0688d0f1fd3a2869a1c1d499.zip
HID: multitouch: Add pointstick support for ALPS Touchpad
There's a new ALPS touchpad/pointstick combo device that requires MT_CLS_WIN_8_DUAL to make its pointsitck work as a mouse. The device can be found on HP ZBook 17 G5. Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-multitouch.c')
-rw-r--r--drivers/hid/hid-multitouch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/hid/hid-multitouch.c b/drivers/hid/hid-multitouch.c
index 1565a307170a..42bb635895cf 100644
--- a/drivers/hid/hid-multitouch.c
+++ b/drivers/hid/hid-multitouch.c
@@ -1780,6 +1780,10 @@ static const struct hid_device_id mt_devices[] = {
HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
USB_VENDOR_ID_ALPS_JP,
HID_DEVICE_ID_ALPS_U1_DUAL_3BTN_PTP) },
+ { .driver_data = MT_CLS_WIN_8_DUAL,
+ HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
+ USB_VENDOR_ID_ALPS_JP,
+ HID_DEVICE_ID_ALPS_1222) },
/* Lenovo X1 TAB Gen 2 */
{ .driver_data = MT_CLS_WIN_8_DUAL,