HID: wacom: generic: add mode change touch key
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 15 Feb 2017 05:27:18 +0000 (21:27 -0800)
committerJiri Kosina <jkosina@suse.cz>
Mon, 6 Mar 2017 13:07:13 +0000 (14:07 +0100)
commit4082da80f46a6683439bb0357faadb18f0f5b2a6
tree91cba84acbe582c6fd99fa44d1ef1c12228c0760
parent4eb220cb35a9c4f69a2438b987bb3d509d56cc80
HID: wacom: generic: add mode change touch key

Wacom Cintiq Pro added a touch key to switch the tablet between
display and opaque mode. This patch informs the change by removing
the old devices and creating new ones with proper properties.

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