summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2022-09-28 13:49:29 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-30 12:57:55 +0100
commite266da1656d6d83f41c1880b970f0e4887358f9d (patch)
tree1fd0babf08d6726d2b564ea4b0bf17e9f22014e3 /drivers
parentdfd419db0391b65d0a711229c07d8a6c4b7b09ac (diff)
downloadlinux-e266da1656d6d83f41c1880b970f0e4887358f9d.tar.gz
linux-e266da1656d6d83f41c1880b970f0e4887358f9d.tar.bz2
linux-e266da1656d6d83f41c1880b970f0e4887358f9d.zip
HID: wacom: add three styli to wacom_intuos_get_tool_type
commit bfdc750c4cb2f3461b9b00a2755e2145ac195c9a upstream. We forgot to add the 3D pen ID a year ago. There are two new pro pen IDs to be added. Signed-off-by: Ping Cheng <ping.cheng@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hid/wacom_wac.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/hid/wacom_wac.c b/drivers/hid/wacom_wac.c
index ad232cafc214..37754a1f733b 100644
--- a/drivers/hid/wacom_wac.c
+++ b/drivers/hid/wacom_wac.c
@@ -713,11 +713,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;