HID: wacom: Add WACOM_DEVICETYPE_DIRECT for Cintiqs and similar
authorJason Gerecke <killertofu@gmail.com>
Mon, 8 Aug 2016 19:06:29 +0000 (12:06 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 10 Aug 2016 09:44:28 +0000 (11:44 +0200)
commite5bc8eb1b02244be4e97e9654d394275e615923a
tree156b5f8ad070e21b84611307e1e5c5f48642dfd5
parent9956953ec082e9353ee0828538ff37b149cc91c9
HID: wacom: Add WACOM_DEVICETYPE_DIRECT for Cintiqs and similar

"Direct" input devices like Cintiqs and Tablet PCs set the INPUT_PROP_DIRECT
property to notify userspace that the sensor and screen are overlaid. This
information can also be useful elsewhere within the kernel driver, however,
so we introduce a new WACOM_DEVICETYPE_DIRECT that signals this to other
kernel code.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c
drivers/hid/wacom_wac.h