Skip to content

Commit 022fc53

Browse files
Martijn van de StreekJiri Kosina
authored andcommitted
HID: uclogic: Add ID for Trust Flex Design Tablet
The Trust Flex Design Tablet has an UGTizer USB ID and requires the same initialization as the UGTizer GP0610 to be detected as a graphics tablet instead of a mouse. Signed-off-by: Martijn van de Streek <martijn@zeewinde.xyz> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
1 parent bf36c6b commit 022fc53

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
@@ -1298,6 +1298,7 @@
12981298

12991299
#define USB_VENDOR_ID_UGTIZER 0x2179
13001300
#define USB_DEVICE_ID_UGTIZER_TABLET_GP0610 0x0053
1301+
#define USB_DEVICE_ID_UGTIZER_TABLET_GT5040 0x0077
13011302

13021303
#define USB_VENDOR_ID_VIEWSONIC 0x0543
13031304
#define USB_DEVICE_ID_VIEWSONIC_PD1011 0xe621

drivers/hid/hid-uclogic-core.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,8 @@ static const struct hid_device_id uclogic_devices[] = {
385385
USB_DEVICE_ID_UCLOGIC_DRAWIMAGE_G3) },
386386
{ HID_USB_DEVICE(USB_VENDOR_ID_UGTIZER,
387387
USB_DEVICE_ID_UGTIZER_TABLET_GP0610) },
388+
{ HID_USB_DEVICE(USB_VENDOR_ID_UGTIZER,
389+
USB_DEVICE_ID_UGTIZER_TABLET_GT5040) },
388390
{ HID_USB_DEVICE(USB_VENDOR_ID_UGEE,
389391
USB_DEVICE_ID_UGEE_TABLET_G5) },
390392
{ HID_USB_DEVICE(USB_VENDOR_ID_UGEE,

drivers/hid/hid-uclogic-params.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -997,6 +997,8 @@ int uclogic_params_init(struct uclogic_params *params,
997997
break;
998998
case VID_PID(USB_VENDOR_ID_UGTIZER,
999999
USB_DEVICE_ID_UGTIZER_TABLET_GP0610):
1000+
case VID_PID(USB_VENDOR_ID_UGTIZER,
1001+
USB_DEVICE_ID_UGTIZER_TABLET_GT5040):
10001002
case VID_PID(USB_VENDOR_ID_UGEE,
10011003
USB_DEVICE_ID_UGEE_XPPEN_TABLET_G540):
10021004
case VID_PID(USB_VENDOR_ID_UGEE,

0 commit comments

Comments
 (0)