HID: wacom: Report ABS_MISC event for Cintiq Companion Hybrid
authorJason Gerecke <killertofu@gmail.com>
Thu, 22 Jan 2015 23:53:28 +0000 (15:53 -0800)
committerJiri Kosina <jkosina@suse.cz>
Fri, 23 Jan 2015 14:06:24 +0000 (15:06 +0100)
commit33e5df0e0e32027866e9fb00451952998fc957f2
tree38a8b9d1556f68b3cab13feb221f26e0b0cea105
parentb3bd7ef397a6031f5398c76a9a0b0695a38f6587
HID: wacom: Report ABS_MISC event for Cintiq Companion Hybrid

It appears that the Cintiq Companion Hybrid does not send an ABS_MISC event to
userspace when any of its ExpressKeys are pressed. This is not strictly
necessary now that the pad exists on its own device, but should be fixed for
consistency's sake.

Traditionally both the stylus and pad shared the same device node, and
xf86-input-wacom would use ABS_MISC for disambiguation. Not sending this causes
the Hybrid to behave incorrectly with xf86-input-wacom beginning with its
8f44f3 commit.

Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c