]> git.baikalelectronics.ru Git - kernel.git/commit
HID: uclogic: Switch to Digitizer usage for styluses
authorNikolai Kondrashov <spbnick@gmail.com>
Sun, 8 May 2022 16:01:46 +0000 (18:01 +0200)
committerJiri Kosina <jkosina@suse.cz>
Wed, 11 May 2022 12:19:27 +0000 (14:19 +0200)
commit9ab9bfdc1ca91fe8b0da17f1294872f0a45ee894
tree635cd5a22930ed3b9b6a28c4a2d43fbc655f3983
parent2f55bc2dc739628cf1bb0636d378907f2ccd15a8
HID: uclogic: Switch to Digitizer usage for styluses

The (incorrect) "Pen" (0x02) application usage used in replacement
report descriptors throughout the drivers leads to all tablets
recognized as a "direct" input device (i.e. a tablet monitor) by
recent kernels, which messes up desktop environments [1].

Replace the application usage with "Digitizer" (0x01) for each
non-display graphics tablet.

[1] https://lore.kernel.org/linux-input/f39ce5d5-bd5b-bd3f-3ea2-9b2a89ba1eb1@gmail.com/

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: José Expósito <jose.exposito89@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-kye.c
drivers/hid/hid-uclogic-rdesc.c
drivers/hid/hid-viewsonic.c