]> 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)
commitb18cf50abcd9a5c245464f44b6ea9b3083714796
treee387e30558f526e23c29b5d2efc50309bd1b1061
parent17324ff83379f89e0871eb0ecfd2044866e42520
HID: wacom: generic: Wacom mouse is only provided for opaque tablets

Commit d78da7c ("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