]> 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)
commit763c01a755f57019ef99952c7306e8b3a705cc6b
treedae8a23ceb9b5dc1155d4690c5264a892d8eba81
parent4233f3e06af5b921d06a9dde8b5718a927a4e373
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