]> git.itanic.dy.fi Git - linux-stable/commit
HID: wacom: generic: support touch on/off softkey
authorPing Cheng <pinglinux@gmail.com>
Wed, 15 Feb 2017 05:27:45 +0000 (21:27 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 6 Mar 2017 13:07:31 +0000 (14:07 +0100)
commitd793ff81879a5747109f3106bd18e77662cb5187
tree310ac836432817b0b665c8eda9efd9afc60f8797
parent4082da80f46a6683439bb0357faadb18f0f5b2a6
HID: wacom: generic: support touch on/off softkey

Wacom Cintiq Pro has a softkey to turn touch on/off. Since it is
a softkey, hardware/firmware still reports touch events no matter
what state the softkey is. We need to ignore touch events when
the key is in off mode.

Signed-off-by: Ping Cheng <ping.cheng@wacom.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Tested-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_sys.c
drivers/hid/wacom_wac.c
drivers/hid/wacom_wac.h