Skip to content

Commit 72ba179

Browse files
committed
HID: uclogic: Add support for XP-PEN Deco Pro MW
The XP-PEN Deco Pro MW 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. It can be connected using a USB cable or, to use it in wireless mode, using a USB Bluetooth dongle. When it is connected in wireless mode the device battery is used to power it. All the pieces to support it are already in place. Add its ID and quirks in order to support the device. Link: #622 Tested-by: Andreas Grosse <andig.mail@t-online.de> Signed-off-by: José Expósito <jose.exposito89@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent f69d12e commit 72ba179

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

hid-ids.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@
6060
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO01 0x0042
6161
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO01_V2 0x0905
6262
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_L 0x0935
63+
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_PRO_MW 0x0934
6364
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_PRO_S 0x0909
6465
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_PRO_SW 0x0933
6566
#define USB_DEVICE_ID_UGEE_XPPEN_TABLET_STAR06 0x0078

hid-uclogic-core.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,9 @@ static const struct hid_device_id uclogic_devices[] = {
553553
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO01_V2) },
554554
{ HID_USB_DEVICE(USB_VENDOR_ID_UGEE,
555555
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_L) },
556+
{ HID_USB_DEVICE(USB_VENDOR_ID_UGEE,
557+
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_PRO_MW),
558+
.driver_data = UCLOGIC_MOUSE_FRAME_QUIRK | UCLOGIC_BATTERY_QUIRK },
556559
{ HID_USB_DEVICE(USB_VENDOR_ID_UGEE,
557560
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_PRO_S) },
558561
{ HID_USB_DEVICE(USB_VENDOR_ID_UGEE,

hid-uclogic-params.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1771,6 +1771,8 @@ int uclogic_params_init(struct uclogic_params *params,
17711771
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO01_V2):
17721772
case VID_PID(USB_VENDOR_ID_UGEE,
17731773
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_L):
1774+
case VID_PID(USB_VENDOR_ID_UGEE,
1775+
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_PRO_MW):
17741776
case VID_PID(USB_VENDOR_ID_UGEE,
17751777
USB_DEVICE_ID_UGEE_XPPEN_TABLET_DECO_PRO_S):
17761778
case VID_PID(USB_VENDOR_ID_UGEE,

0 commit comments

Comments
 (0)