Input: wacom - mark Intuos5 pad as in-prox when touching buttons
authorJason Gerecke <killertofu@gmail.com>
Mon, 24 Sep 2012 16:21:31 +0000 (09:21 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 28 Sep 2012 17:34:03 +0000 (10:34 -0700)
commit5e056ef4ddeb6129f6bb170f2c26b8f370bbcda7
tree2251b54d41bb06b233a601b46a5055f67eb330f5
parent824efd37415961d38821ecbd9694e213fb2e8b32
Input: wacom - mark Intuos5 pad as in-prox when touching buttons

If the ExpressKeys on the Intuos5 are touched, they currently result
an out-of-prox packet being sent even if the pad is already out of
prox. This can cause some confusion in the X driver. To restore the
expected semantics, we make being touched a sufficient condition to
signal proximity.

https://bugs.freedesktop.org/show_bug.cgi?id=54250

Reported-by: Timo Aaltonen <tjaalton@ubuntu.com>
Signed-off-by: Jason Gerecke <killertofu@gmail.com>
Reviewed-by: Chris Bagwell <chris@cnpbagwell.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/tablet/wacom_wac.c