summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/wacom_wac.h
diff options
context:
space:
mode:
authorPing Cheng2010-04-06 08:07:41 +0200
committerDmitry Torokhov2010-04-14 08:24:56 +0200
commitab687b18aa77aeda5472d9ea054bf92c45c49c0c (patch)
tree8d103b1aa4827a95d063f0b41b783fddf60eb3d3 /drivers/input/tablet/wacom_wac.h
parentInput: wacom - use get_unaligned to access unaligned data (diff)
downloadkernel-qcow2-linux-ab687b18aa77aeda5472d9ea054bf92c45c49c0c.tar.gz
kernel-qcow2-linux-ab687b18aa77aeda5472d9ea054bf92c45c49c0c.tar.xz
kernel-qcow2-linux-ab687b18aa77aeda5472d9ea054bf92c45c49c0c.zip
Input: wacom - streamline 2-finger touch support
Clean up 2-finger touch support. This still needs to be converted to proper multi-touch protocol. Signed-off-by: Ping Cheng <pingc@wacom.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input/tablet/wacom_wac.h')
-rw-r--r--drivers/input/tablet/wacom_wac.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/input/tablet/wacom_wac.h b/drivers/input/tablet/wacom_wac.h
index 69098a2aa690..063f1af3204f 100644
--- a/drivers/input/tablet/wacom_wac.h
+++ b/drivers/input/tablet/wacom_wac.h
@@ -80,9 +80,10 @@ struct wacom_shared {
struct wacom_wac {
char name[64];
unsigned char *data;
- int tool[2];
- int id[2];
+ int tool[3];
+ int id[3];
__u32 serial[2];
+ int last_finger;
struct wacom_features features;
struct wacom_shared *shared;
struct input_dev *input;