HID: hid-multitouch: introduce IrTouch Infrared USB device
authorBenjamin Tissoires <benjamin.tissoires@enac.fr>
Mon, 31 Jan 2011 10:28:22 +0000 (11:28 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 31 Jan 2011 14:16:13 +0000 (15:16 +0100)
This patch adds support for IrTouch 42 inches.

Tested-by: Victor Zhuk <v.zhuk@acs-ltd.ru>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/hid-ids.h
drivers/hid/hid-multitouch.c

index 24cca2f69dfcfb54df9d4a9a02196f83a5b1242b..a0b117ddeef5b2bc94133f24a1bdbb56354f7cb7 100644 (file)
@@ -304,6 +304,7 @@ config HID_MULTITOUCH
          Say Y here if you have one of the following devices:
          - Cypress TrueTouch panels
          - Hanvon dual touch panels
+         - IrTouch Infrared USB panels
          - Pixcir dual touch panels
          - 'Sensing Win7-TwoFinger' panel by GeneralTouch
 
index 92a0d61a7379c9f315e63e58f98445b2c3bb033d..b1dd7adcc716adc190e3b38e2cbfb500ff3d96f2 100644 (file)
 #define USB_VENDOR_ID_IMATION          0x0718
 #define USB_DEVICE_ID_DISC_STAKKA      0xd000
 
+#define USB_VENDOR_ID_IRTOUCHSYSTEMS   0x6615
+#define USB_DEVICE_ID_IRTOUCH_INFRARED_USB     0x0070
+
 #define USB_VENDOR_ID_JESS             0x0c45
 #define USB_DEVICE_ID_JESS_YUREX       0x1010
 
index 4f634099f6a1243cc54fb1fd53849f785bdd7dd5..69f8744deac8cede73ca2af5b443445cfeaf82c0 100644 (file)
@@ -471,6 +471,11 @@ static const struct hid_device_id mt_devices[] = {
                HID_USB_DEVICE(USB_VENDOR_ID_GENERAL_TOUCH,
                        USB_DEVICE_ID_GENERAL_TOUCH_WIN7_TWOFINGERS) },
 
+       /* IRTOUCH panels */
+       { .driver_data = MT_CLS_DUAL_INRANGE_CONTACTID,
+               HID_USB_DEVICE(USB_VENDOR_ID_IRTOUCHSYSTEMS,
+                       USB_DEVICE_ID_IRTOUCH_INFRARED_USB) },
+
        /* PixCir-based panels */
        { .driver_data = MT_CLS_DUAL_INRANGE_CONTACTID,
                HID_USB_DEVICE(USB_VENDOR_ID_HANVON,