]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/hid/hid-uclogic.c
HID: uclogic: Switch to reporting abstract button events
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 14 Sep 2016 18:38:16 +0000 (21:38 +0300)
committerJiri Kosina <jkosina@suse.cz>
Mon, 19 Sep 2016 12:32:23 +0000 (14:32 +0200)
commit21003968cdc36e3be2091170fe76bec3f282f155
tree9b48d99014fe25a46e8196c8887be53c82a660eb
parent82d2efd2db4465b467b52d37142b1cc87b876506
HID: uclogic: Switch to reporting abstract button events

Based on a patch from: Nikolai Kondrashov <Nikolai.Kondrashov@redhat.com>

Enable abstract keyboard mode for Huion tablets, which makes them report
frame buttons using the pen interface and report ID. Divert these
reports to a virtual report ID describing them.

This makes the tablet compatible with xf86-input-wacom and libinput,
but stops the frame buttons from reporting keyboard events.

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-uclogic.c