diff options
author | Ping Cheng <pingc@wacom.com> | 2010-03-20 06:18:15 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-04-14 08:24:06 +0200 |
commit | 4492efffffeb88d87e7aa74765f3c53b3a7dd40f (patch) | |
tree | 258b17da4faf0934efb8bc63a5163d77e047dbc8 /drivers/firewire/ohci.h | |
parent | Input: wacom - merge out and in prox events (diff) | |
download | linux-4492efffffeb88d87e7aa74765f3c53b3a7dd40f.tar.xz linux-4492efffffeb88d87e7aa74765f3c53b3a7dd40f.zip |
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/firewire/ohci.h')
0 files changed, 0 insertions, 0 deletions