Skip to contentSkip to conversation

HID: wacom: add three styli to wacom_intuos_get_tool_type

PATCH Applied Ping Cheng 3 participants 4 messages Sep 28, 2022 – May 22, 2023

Subsystems (3)
lore
Share & tools
lore

Ping Cheng

author
#0 lore raw

PATCH 1/1 HID: wacom: add three styli to wacom_intuos_get_tool_type

We forgot to add the 3D pen ID a year ago. There are two new pro pen IDs to be added.

---
 drivers/hid/wacom_wac.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/hid/wacom_wac.c +3 -0
index 4fc64bd..a04f66a 100644
@@ -723,11 +723,14 @@ static int wacom_intuos_get_tool_type(int tool_id)
 	case 0x802: /* Intuos4/5 13HD/24HD General Pen */
 	case 0x8e2: /* IntuosHT2 pen */
 	case 0x022:
+	case 0x200: /* Pro Pen 3 */
+	case 0x04200: /* Pro Pen 3 */
 	case 0x10842: /* MobileStudio Pro Pro Pen slim */
 	case 0x14802: /* Intuos4/5 13HD/24HD Classic Pen */
 	case 0x16802: /* Cintiq 13HD Pro Pen */
 	case 0x18802: /* DTH2242 Pen */
 	case 0x10802: /* Intuos4/5 13HD/24HD General Pen */
+	case 0x80842: /* Intuos Pro and Cintiq Pro 3D Pen */
 		tool_type = BTN_TOOL_PEN;
 		break;
 
Signature · 1 line
2.37.3
maintainer Applied
#1 lore raw
Quoted 15 lines · Ping Cheng

We forgot to add the 3D pen ID a year ago. There are two new pro pen IDs to be added.

---
 drivers/hid/wacom_wac.c | 3 +++
 1 file changed, 3 insertions(+)
drivers/hid/wacom_wac.c +0 -0
index 4fc64bd..a04f66a 100644
@@ -723,11 +723,14 @@ static int wacom_intuos_get_tool_type(int tool_id)
 	case 0x802: /* Intuos4/5 13HD/24HD General Pen */
 	case 0x8e2: /* IntuosHT2 pen */

drivers/hid/wacom_wac.c static int wacom_intuos_get_tool_type(int tool_id) · line 734

Quoted 10 lines
drivers/hid/wacom_wac.c +3 -0
 	case 0x022:
+	case 0x200: /* Pro Pen 3 */
+	case 0x04200: /* Pro Pen 3 */
 	case 0x10842: /* MobileStudio Pro Pro Pen slim */
 	case 0x14802: /* Intuos4/5 13HD/24HD Classic Pen */
 	case 0x16802: /* Cintiq 13HD Pro Pen */
 	case 0x18802: /* DTH2242 Pen */
 	case 0x10802: /* Intuos4/5 13HD/24HD General Pen */
+	case 0x80842: /* Intuos Pro and Cintiq Pro 3D Pen */
 		tool_type = BTN_TOOL_PEN;

Applied, thanks Ping.

Signature · 2 lines
Jiri Kosina
SUSE Labs
author
#2 lore raw

PATCH 1/1 HID: wacom: add three styli to wacom_intuos_get_tool_type

In reply to Ping Cheng

This patch, ID bfdc750c4cb2f3461b9b00a2755e2145ac195c9a, can be applied to stable kernels 5.4 to 5.15, AS IS.

The patch has been merged to stable 6.1 and later. Thank you for your support!

Cheers,
Ping

maintainer
#3 lore raw
Quoted 4 lines · Ping Cheng

This patch, ID bfdc750c4cb2f3461b9b00a2755e2145ac195c9a, can be applied to stable kernels 5.4 to 5.15, AS IS.

The patch has been merged to stable 6.1 and later. Thank you for your support!

all requests now queued up, thanks.

greg k-h