diff mbox series

[1/2] HID: wacom: Add new Intuos Pro Small (PTH-460) device IDs

Message ID 20220826213402.9950-1-ping.cheng@wacom.com (mailing list archive)
State Mainlined
Commit 0627f3df95e1609693f89e7ceb4156ac5db6e358
Delegated to: Jiri Kosina
Headers show
Series [1/2] HID: wacom: Add new Intuos Pro Small (PTH-460) device IDs | expand

Commit Message

Ping Cheng Aug. 26, 2022, 9:34 p.m. UTC
Add the new PIDs to wacom_wac.c to support the new model in the Intuos Pro series.

Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
Tested-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
---
 drivers/hid/wacom_wac.c | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Jiri Kosina Sept. 2, 2022, 10:01 a.m. UTC | #1
On Fri, 26 Aug 2022, Ping Cheng wrote:

> Add the new PIDs to wacom_wac.c to support the new model in the Intuos Pro series.
> 
> Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
> Tested-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>

Applied, thanks Ping.
diff mbox series

Patch

diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
index 4fc64bd..b36a957 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -4890,6 +4890,10 @@  static const struct wacom_features wacom_features_0x3c6 =
 static const struct wacom_features wacom_features_0x3c8 =
 	{ "Wacom Intuos BT M", 21600, 13500, 4095, 63,
 	  INTUOSHT3_BT, WACOM_INTUOS_RES, WACOM_INTUOS_RES, 4 };
+static const struct wacom_features wacom_features_0x3dd =
+	{ "Wacom Intuos Pro S", 31920, 19950, 8191, 63,
+	  INTUOSP2S_BT, WACOM_INTUOS3_RES, WACOM_INTUOS3_RES, 7,
+	  .touch_max = 10 };
 
 static const struct wacom_features wacom_features_HID_ANY_ID =
 	{ "Wacom HID", .type = HID_GENERIC, .oVid = HID_ANY_ID, .oPid = HID_ANY_ID };
@@ -5065,6 +5069,7 @@  const struct hid_device_id wacom_ids[] = {
 	{ BT_DEVICE_WACOM(0x393) },
 	{ BT_DEVICE_WACOM(0x3c6) },
 	{ BT_DEVICE_WACOM(0x3c8) },
+	{ BT_DEVICE_WACOM(0x3dd) },
 	{ USB_DEVICE_WACOM(0x4001) },
 	{ USB_DEVICE_WACOM(0x4004) },
 	{ USB_DEVICE_WACOM(0x5000) },