]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom: generic: Support multiple tools per report
authorAaron Armstrong Skomra <skomra@gmail.com>
Tue, 6 Mar 2018 18:48:34 +0000 (10:48 -0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 7 Mar 2018 14:21:44 +0000 (15:21 +0100)
commit1db6fd29375ac898200e2b0524929ac73ec6e421
treedae8a23ceb9b5dc1155d4690c5264a892d8eba81
parente09a9610976dbf2f4ab567cd7fa36b5d5579d2b9
HID: wacom: generic: Support multiple tools per report

Some Wacom devices contain contain Pen and Pad usages in
the same report. Future devices of this type may utilize
HID Descriptors.

The generic code path of the Wacom driver previously
assumed pen, touch, and pad reports were delivered in
separate reports. This patch adds support for processing
each collection of a report separately, in order to support
reports with multiple tools.

Signed-off-by: Aaron Armstrong Skomra <skomra@gmail.com>
Reviewed-by: Ping Cheng <ping.cheng@wacom.com>
Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c