]> Gentwo Git Trees - linux/.git/commit
HID: uclogic: Add support for the XP-PEN Artist 24 Pro
authorJoshua Goins <josh@redstrate.com>
Mon, 22 Sep 2025 21:32:03 +0000 (17:32 -0400)
committerJiri Kosina <jkosina@suse.com>
Tue, 14 Oct 2025 10:01:34 +0000 (12:01 +0200)
commitee35448c89aaa2941fb3ef8496a6067e7838ea19
tree46bb981218e7ca0cb261d4606aaba955b23ac001
parent54ba6d9b1393a0061600c0e49c8ebef65d60a8b2
HID: uclogic: Add support for the XP-PEN Artist 24 Pro

The tablet is similar to the 22R Pro, but with a few annoying
differences. Its descriptors are bigger because of the tablet's split
coordinate system, I guess it's just that large. Thankfully, this is
easy enough to support as all we have to do is shift bytes around.

To help code re-use, I changed the signature of
uclogic_params_init_ugee_xppen_pro to accept a pen descriptor so we
didn't create yet-another initialization function.

I have been testing this locally for a month or so and it works great,
and also corroborated this with a few other testers. Since this touches
my 22R Pro code, I have tested and checked that it didn't regress that
device.

Signed-off-by: Joshua Goins <josh@redstrate.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-ids.h
drivers/hid/hid-uclogic-core.c
drivers/hid/hid-uclogic-params.c
drivers/hid/hid-uclogic-params.h
drivers/hid/hid-uclogic-rdesc.c
drivers/hid/hid-uclogic-rdesc.h