HID: wacom: generic: add the "Report Valid" usage
authorAaron Armstrong Skomra <skomra@gmail.com>
Tue, 6 Mar 2018 18:48:35 +0000 (10:48 -0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 7 Mar 2018 14:21:44 +0000 (15:21 +0100)
commitb1f466a90c516d54bd8bea7fb142a807d7800304
tree13055b214546129acaf32904d6e76d416b294b3c
parentf8b6a74719b5e003e28b2deb7ef91d7158333cbf
HID: wacom: generic: add the "Report Valid" usage

Wacom Bluetooth reports contain multiple pen frames per report.
Each frame contains a flag indicating if the frame is valid.
Future Wacom devices with this type of report may contain HID
descriptors, add support for this usage to the generic codepath
of the Wacom driver.

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
drivers/hid/wacom_wac.h