HID: wacom - Add support for Intuos Pen Medium
Subsystems (2)
PATCH 1/1 HID: wacom - Add support for Intuos Pen Medium
Signed-off-by Ping Cheng <[email protected]>
--- drivers/hid/wacom_wac.c | 5 +++++ 1 file changed, 5 insertions(+)
drivers/hid/wacom_wac.c +5 -0
@@ -2878,6 +2878,10 @@ 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 }; +static const struct wacom_features wacom_features_0x323 = + {"Wacom Intuos P M" ,21600 ,13500 ,1023 ,31 , +INTUOSHT ,WACOM_INTUOS_RES ,WACOM_INTUOS_RES , + .check_for_hid_type = true, .hid_type =HID_TYPE_USBNONE };static const struct wacom_features wacom_features_HID_ANY_ID = {"Wacom HID" , .type =HID_GENERIC };
@@ -3022,6 +3026,7 @@ const struct hid_device_id wacom_ids[] = { { USB_DEVICE_WACOM(0x314) }, { USB_DEVICE_WACOM(0x315) }, { USB_DEVICE_WACOM(0x317) }, + { USB_DEVICE_WACOM(0x323) }, { USB_DEVICE_WACOM(0x4001) }, { USB_DEVICE_WACOM(0x4004) }, { USB_DEVICE_WACOM(0x5000) },
Signature · 1 line
1.9.1
Jiri Kosina
AppliedQuoted 21 lines · Ping Cheng
Signed-off-by Ping Cheng <[email protected]>--- drivers/hid/wacom_wac.c | 5 +++++ 1 file changed, 5 insertions(+)drivers/hid/wacom_wac.c +4
-0@@ -2878,6 +2878,10 @@ 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 }; +static const struct wacom_features wacom_features_0x323 = + {"Wacom Intuos P M" ,21600 ,13500 ,1023 ,31 , +INTUOSHT ,WACOM_INTUOS_RES ,WACOM_INTUOS_RES , + .check_for_hid_type = true, .hid_type =HID_TYPE_USBNONE };static const struct wacom_features wacom_features_HID_ANY_ID = {"Wacom HID" , .type =HID_GENERIC };
drivers/hid/wacom_wac.c const struct hid_device_id wacom_ids[] = { · line 3032
Quoted 7 lines
drivers/hid/wacom_wac.c +1
-0@@ -3022,6 +3026,7 @@ const struct hid_device_id wacom_ids[] = { { USB_DEVICE_WACOM(0x314) }, { USB_DEVICE_WACOM(0x315) }, { USB_DEVICE_WACOM(0x317) }, + { USB_DEVICE_WACOM(0x323) }, { USB_DEVICE_WACOM(0x4001) }, { USB_DEVICE_WACOM(0x4004) }, { USB_DEVICE_WACOM(0x5000) },
Applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs