]> git.ipfire.org Git - thirdparty/linux.git/commit
HID: uclogic: Add support for XP-PEN Artist 22R Pro
authorJoshua Goins <josh@redstrate.com>
Mon, 23 Jun 2025 02:42:54 +0000 (22:42 -0400)
committerJiri Kosina <jkosina@suse.com>
Thu, 3 Jul 2025 07:33:38 +0000 (09:33 +0200)
commit9671854582f971c84507728d4a00aa779e5a0811
treea36f8853f2a8a65cd190a523605e3ff6e1f3be82
parentc8be000387e47624d14b328daca260f897756402
HID: uclogic: Add support for XP-PEN Artist 22R Pro

Adds support for the XP-PEN Artist 22R Pro, including stylus, tablet frame
and pen pressure.

The tablet has 20 buttons, but need to be remapped in order since the
device reports invalid keycodes. Existing tablet functionality should
not be inhibited, as BTN0-8 is still used.

New initialization functions are added since the device differs slightly
from other UGEE v2 devices.

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