]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commitf8b6a74719b5e003e28b2deb7ef91d7158333cbf
treedae8a23ceb9b5dc1155d4690c5264a892d8eba81
parent87046b6c995c50c11c8bd4a71877df83f99b3516
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