]> asedeno.scripts.mit.edu Git - linux.git/commit
HID: uclogic: Support in-range reporting emulation
authorNikolai Kondrashov <spbnick@gmail.com>
Sun, 10 Feb 2019 10:13:54 +0000 (12:13 +0200)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Thu, 21 Feb 2019 11:00:53 +0000 (12:00 +0100)
commit01309e29eb95c16bd48984f2589fad0cbf5e27d1
tree177f5d305cdbbb51a9b1f240f814d738473e7c06
parenteecb5b845b1a724422e139db9ade356cdf3955e5
HID: uclogic: Support in-range reporting emulation

Newer UC-Logic tablets, such as ones made by Huion have stopped
reporting in-range state, but they're otherwise worthy tablets. The
manufacturer was notified of the problem and promised to fix this in the
future. Meanwhile, detect pen coming in range, and emulate the reports
to the userspace, to make the tablets useable.

Signed-off-by: Nikolai Kondrashov <spbnick@gmail.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-uclogic-core.c
drivers/hid/hid-uclogic-params.c
drivers/hid/hid-uclogic-params.h