Input: wacom - add reporting of SW_MUTE_DEVICE events
authorPing Cheng <pinglinux@gmail.com>
Thu, 5 Dec 2013 20:54:53 +0000 (12:54 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 16 Dec 2013 10:12:32 +0000 (02:12 -0800)
commit961794a00eab03f4344b7d5e825e8e789e55da87
treebe8c0fc41751917397343ae5d7945578f590579a
parent348324c5b10bcba8d9daabdfb85a6927311be34f
Input: wacom - add reporting of SW_MUTE_DEVICE events

New Intuos series models added a hardware switch to turn touch
data on/off. The state of the switch is reported periodically
from the tablet. To report the state the driver will emit SW_MUTE_DEVICE
events.

Reviewed_by: Chris Bagwell <chris@cnpbagwell.com>
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Tested-by: Jason Gerecke <killertofu@gmail.com>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/wacom_sys.c
drivers/input/tablet/wacom_wac.c
drivers/input/tablet/wacom_wac.h