]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit69feb0f077166a7325a6835eae558c1c0a656700
treee387e30558f526e23c29b5d2efc50309bd1b1061
parent4fcf80d921e1d71d75e5fbefb1bdd6195cca52eb
HID: wacom: generic: Wacom mouse is only provided for opaque tablets

Commit 97b60fe ("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