Skip to content

Commit 93b40b3

Browse files
JoseExpositoJiri Kosina
authored andcommitted
HID: uclogic: Add support for XP-PEN Deco Pro S
The XP-PEN Deco Pro S is a UGEE v2 device with a frame with 8 buttons, a bitmap dial and a mouse. Its pen has 2 buttons, supports tilt and pressure. All the pieces to support it are already in place. Add its ID in order to support the device. The required Wireshark traces were captured by Jouke Witteveen. For more information check [1]. Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/738 [1] Tested-by: Jouke Witteveen <[email protected]> Signed-off-by: José Expósito <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent 387dcab commit 93b40b3

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

drivers/hid/hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1280,6 +1280,7 @@
12801280
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_G640 0x0094
12811281
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO01 0x0042
12821282
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_L 0x0935
1283+
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_PRO_S 0x0909
12831284
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_STAR06 0x0078
12841285
#define USB_DEVICE_ID_UGEE_TABLET_G5 0x0074
12851286
#define USB_DEVICE_ID_UGEE_TABLET_EX07S 0x0071

drivers/hid/hid-uclogic-core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -524,6 +524,8 @@ static const struct hid_device_id uclogic_devices[] = {
524524
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO01) },
525525
{ HID_USB_DEVICE(USB_VENDOR_ID_UGEE,
526526
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_L) },
527+
{ HID_USB_DEVICE(USB_VENDOR_ID_UGEE,
528+
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_PRO_S) },
527529
{ HID_USB_DEVICE(USB_VENDOR_ID_UGEE,
528530
USB_DEVICE_ID_UGEE_XPPEN_TABLET_STAR06) },
529531
{ }

drivers/hid/hid-uclogic-params.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1582,6 +1582,8 @@ int uclogic_params_init(struct uclogic_params *params,
15821582
break;
15831583
case VID_PID(USB_VENDOR_ID_UGEE,
15841584
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_L):
1585+
case VID_PID(USB_VENDOR_ID_UGEE,
1586+
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_PRO_S):
15851587
rc = uclogic_params_ugee_v2_init(&p, hdev);
15861588
if (rc != 0)
15871589
goto cleanup;

0 commit comments

Comments
 (0)