HID: wacom: Add support for the Cintiq Companion
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 3 Sep 2014 19:43:25 +0000 (15:43 -0400)
committerJiri Kosina <jkosina@suse.cz>
Wed, 3 Sep 2014 21:42:53 +0000 (23:42 +0200)
The Wacom Cintiq Companion shares the same sensor than the Cintiq
Companion Hybrid, with the exception of the different PIDs.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c

index aa6a08eb7ad686ced04e04fffee1561cde6da533..c3cbbfb5811ff737c97cc81bd0a996c8dc070628 100644 (file)
@@ -2573,6 +2573,14 @@ static const struct wacom_features wacom_features_0x309 =
        { "Wacom ISDv5 309", .type = WACOM_24HDT, /* Touch */
          .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x0307, .touch_max = 10,
          .check_for_hid_type = true, .hid_type = HID_TYPE_USBNONE };
+static const struct wacom_features wacom_features_0x30A =
+       { "Wacom ISDv5 30A", 59352, 33648, 2047, 63,
+         CINTIQ_HYBRID, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 200, 200,
+         .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x30C };
+static const struct wacom_features wacom_features_0x30C =
+       { "Wacom ISDv5 30C", .type = WACOM_24HDT, /* Touch */
+         .oVid = USB_VENDOR_ID_WACOM, .oPid = 0x30A, .touch_max = 10,
+         .check_for_hid_type = true, .hid_type = HID_TYPE_USBNONE };
 
 #define USB_DEVICE_WACOM(prod)                                         \
        HID_DEVICE(BUS_USB, HID_GROUP_WACOM, USB_VENDOR_ID_WACOM, prod),\
@@ -2708,6 +2716,8 @@ const struct hid_device_id wacom_ids[] = {
        { USB_DEVICE_WACOM(0x304) },
        { USB_DEVICE_WACOM(0x307) },
        { USB_DEVICE_WACOM(0x309) },
+       { USB_DEVICE_WACOM(0x30A) },
+       { USB_DEVICE_WACOM(0x30C) },
        { USB_DEVICE_WACOM(0x30E) },
        { USB_DEVICE_WACOM(0x314) },
        { USB_DEVICE_WACOM(0x315) },