summaryrefslogtreecommitdiff
path: root/drivers/input/tablet/wacom.h
diff options
context:
space:
mode:
authorPing Cheng <pingc@wacom.com>2010-03-20 05:18:15 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-04-14 06:24:06 (GMT)
commit4492efffffeb88d87e7aa74765f3c53b3a7dd40f (patch)
tree258b17da4faf0934efb8bc63a5163d77e047dbc8 /drivers/input/tablet/wacom.h
parent3b57ca0f80c5c8994b5b1e3d3f904cfe727951f2 (diff)
downloadlinux-fsl-qoriq-4492efffffeb88d87e7aa74765f3c53b3a7dd40f.tar.xz
Input: wacom - share pen info with touch of the same ID
Touch enbaled devices share the same product ID with pen. However, we do not want to post touch events while pen is in prox. To do so, we used to keep a local static variable to keep track of if pen is in prox or not. This works fine for Tablet PC devices since there is only one device attached. With the newer touch enabled regular tablets, we can not make this assumption any more, i.e, one system may have more than one identical tablet plugged in. This patch adds an new entry, shared, into the struct wacom_wac so touch data can access pen data to locally. This solution assumes the two tools (touch and pen) of the same ID will be probed one after the other without interruption in between by another Wacom device of the same ID.
Diffstat (limited to 'drivers/input/tablet/wacom.h')
0 files changed, 0 insertions, 0 deletions