HID: hid-multitouch: add support for Ilitek dual-touch panel
Added ILITEK hid dual touch panel support into hid-multitouch. Signed-off-by: Austin Zhang <zhang.austin@gmail.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@enac.fr> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
4a6ee685fb
commit
4e61f0d75a
@ -306,6 +306,7 @@ config HID_MULTITOUCH
|
|||||||
- Cando dual touch panel
|
- Cando dual touch panel
|
||||||
- Cypress TrueTouch panels
|
- Cypress TrueTouch panels
|
||||||
- Hanvon dual touch panels
|
- Hanvon dual touch panels
|
||||||
|
- Ilitek dual touch panel
|
||||||
- IrTouch Infrared USB panels
|
- IrTouch Infrared USB panels
|
||||||
- MosArt dual-touch panels
|
- MosArt dual-touch panels
|
||||||
- PenMount dual touch panels
|
- PenMount dual touch panels
|
||||||
|
@ -1377,6 +1377,7 @@ static const struct hid_device_id hid_have_special_driver[] = {
|
|||||||
{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2) },
|
{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_2) },
|
||||||
{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_3) },
|
{ HID_USB_DEVICE(USB_VENDOR_ID_GYRATION, USB_DEVICE_ID_GYRATION_REMOTE_3) },
|
||||||
{ HID_USB_DEVICE(USB_VENDOR_ID_HANVON, USB_DEVICE_ID_HANVON_MULTITOUCH) },
|
{ HID_USB_DEVICE(USB_VENDOR_ID_HANVON, USB_DEVICE_ID_HANVON_MULTITOUCH) },
|
||||||
|
{ HID_USB_DEVICE(USB_VENDOR_ID_ILITEK, USB_DEVICE_ID_ILITEK_MULTITOUCH) },
|
||||||
{ HID_USB_DEVICE(USB_VENDOR_ID_IRTOUCHSYSTEMS, USB_DEVICE_ID_IRTOUCH_INFRARED_USB) },
|
{ HID_USB_DEVICE(USB_VENDOR_ID_IRTOUCHSYSTEMS, USB_DEVICE_ID_IRTOUCH_INFRARED_USB) },
|
||||||
{ HID_USB_DEVICE(USB_VENDOR_ID_KENSINGTON, USB_DEVICE_ID_KS_SLIMBLADE) },
|
{ HID_USB_DEVICE(USB_VENDOR_ID_KENSINGTON, USB_DEVICE_ID_KS_SLIMBLADE) },
|
||||||
{ HID_USB_DEVICE(USB_VENDOR_ID_KEYTOUCH, USB_DEVICE_ID_KEYTOUCH_IEC) },
|
{ HID_USB_DEVICE(USB_VENDOR_ID_KEYTOUCH, USB_DEVICE_ID_KEYTOUCH_IEC) },
|
||||||
|
@ -330,6 +330,9 @@
|
|||||||
#define USB_DEVICE_ID_UGCI_FLYING 0x0020
|
#define USB_DEVICE_ID_UGCI_FLYING 0x0020
|
||||||
#define USB_DEVICE_ID_UGCI_FIGHTING 0x0030
|
#define USB_DEVICE_ID_UGCI_FIGHTING 0x0030
|
||||||
|
|
||||||
|
#define USB_VENDOR_ID_ILITEK 0x222a
|
||||||
|
#define USB_DEVICE_ID_ILITEK_MULTITOUCH 0x0001
|
||||||
|
|
||||||
#define USB_VENDOR_ID_IMATION 0x0718
|
#define USB_VENDOR_ID_IMATION 0x0718
|
||||||
#define USB_DEVICE_ID_DISC_STAKKA 0xd000
|
#define USB_DEVICE_ID_DISC_STAKKA 0xd000
|
||||||
|
|
||||||
|
@ -589,6 +589,11 @@ static const struct hid_device_id mt_devices[] = {
|
|||||||
HID_USB_DEVICE(USB_VENDOR_ID_GENERAL_TOUCH,
|
HID_USB_DEVICE(USB_VENDOR_ID_GENERAL_TOUCH,
|
||||||
USB_DEVICE_ID_GENERAL_TOUCH_WIN7_TWOFINGERS) },
|
USB_DEVICE_ID_GENERAL_TOUCH_WIN7_TWOFINGERS) },
|
||||||
|
|
||||||
|
/* Ilitek dual touch panel */
|
||||||
|
{ .driver_data = MT_CLS_DEFAULT,
|
||||||
|
HID_USB_DEVICE(USB_VENDOR_ID_ILITEK,
|
||||||
|
USB_DEVICE_ID_ILITEK_MULTITOUCH) },
|
||||||
|
|
||||||
/* IRTOUCH panels */
|
/* IRTOUCH panels */
|
||||||
{ .driver_data = MT_CLS_DUAL_INRANGE_CONTACTID,
|
{ .driver_data = MT_CLS_DUAL_INRANGE_CONTACTID,
|
||||||
HID_USB_DEVICE(USB_VENDOR_ID_IRTOUCHSYSTEMS,
|
HID_USB_DEVICE(USB_VENDOR_ID_IRTOUCHSYSTEMS,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user