OSDN Git Service

HID: wacom: generic: Wacom mouse is only provided for opaque tablets
authorPing Cheng <pinglinux@gmail.com>
Wed, 15 Mar 2017 00:08:16 +0000 (17:08 -0700)
committerJiri Kosina <jkosina@suse.cz>
Tue, 21 Mar 2017 13:48:29 +0000 (14:48 +0100)
commit6e5364f5f472d4ea66d37459e299071b0190362c
treee387e30558f526e23c29b5d2efc50309bd1b1061
parent01adc47e885f1127b29d76d0dfb21d8262f9d6b4
HID: wacom: generic: Wacom mouse is only provided for opaque tablets

Commit f85c9dc ("Support tool ID and additional tool types") introduced mouse
and lens cursor tools to generic codepath, which covers both display (direct)
and opaque tablets (indirect devices). However, mouse and lens cursor tools are
only provided for opaque tablets. This patch ignores mouse and lens cursor tools
if the device is a display tablet.

Signed-off-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