Skip to content

Commit 0a95fc7

Browse files
khfengJiri Kosina
authored andcommitted
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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 3a9a2c8 commit 0a95fc7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
#define HID_DEVICE_ID_ALPS_U1_DUAL_3BTN_PTP 0x1220
8484
#define HID_DEVICE_ID_ALPS_U1 0x1215
8585
#define HID_DEVICE_ID_ALPS_T4_BTNLESS 0x120C
86+
#define HID_DEVICE_ID_ALPS_1222 0x1222
8687

8788

8889
#define USB_VENDOR_ID_AMI 0x046b

drivers/hid/hid-multitouch.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1780,6 +1780,10 @@ static const struct hid_device_id mt_devices[] = {
17801780
HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
17811781
USB_VENDOR_ID_ALPS_JP,
17821782
HID_DEVICE_ID_ALPS_U1_DUAL_3BTN_PTP) },
1783+
{ .driver_data = MT_CLS_WIN_8_DUAL,
1784+
HID_DEVICE(BUS_I2C, HID_GROUP_MULTITOUCH_WIN_8,
1785+
USB_VENDOR_ID_ALPS_JP,
1786+
HID_DEVICE_ID_ALPS_1222) },
17831787

17841788
/* Lenovo X1 TAB Gen 2 */
17851789
{ .driver_data = MT_CLS_WIN_8_DUAL,

0 commit comments

Comments
 (0)