]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: uclogic: Support HUION devices with up to 20 buttons
authorJosé Expósito <jose.exposito89@gmail.com>
Fri, 24 May 2024 11:21:35 +0000 (13:21 +0200)
committerJiri Kosina <jkosina@suse.com>
Tue, 4 Jun 2024 08:12:54 +0000 (10:12 +0200)
commit48144e83daba5619adaf0baf4fcea98082dce818
tree750f462855890c8dcde72876747f0d7bb6bdd3b8
parent70ec81c2e2b4005465ad0d042e90b36087c36104
HID: uclogic: Support HUION devices with up to 20 buttons

The HID descriptor for HUION tablets was limited to 13 buttons. However,
there are devices with more buttons in their frames.

So far, the device with more buttons released by HUION is the Huion
Kamvas Pro 24 (GT-240, QHD) [1], with 20 buttons.

Tweak the HID descriptor to support it.

Link: https://gitlab.freedesktop.org/libinput/libinput/-/issues/989
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-uclogic-rdesc.c