summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/wacom_wac.h
diff options
context:
space:
mode:
authorHenrik Rydberg2010-09-05 21:53:16 +0200
committerDmitry Torokhov2010-09-05 21:58:17 +0200
commitcb734c03680eaaad64a20a666300eafd1ac260b2 (patch)
treef32070df68914c35477e36662783d84b5a9ac9f2 /drivers/input/tablet/wacom_wac.h
parentInput: wacom - collect device quirks into single function (diff)
downloadkernel-qcow2-linux-cb734c03680eaaad64a20a666300eafd1ac260b2.tar.gz
kernel-qcow2-linux-cb734c03680eaaad64a20a666300eafd1ac260b2.tar.xz
kernel-qcow2-linux-cb734c03680eaaad64a20a666300eafd1ac260b2.zip
Input: wacom - add support for the Bamboo Touch trackpad
Add support for the Bamboo Touch trackpad, and make it work with both the Synaptics X Driver and the Multitouch X Driver. The device uses MT slots internally, so the choice of protocol is a given. Signed-off-by: Henrik Rydberg <rydberg@euromail.se> Acked-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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom_wac.h b/drivers/input/tablet/wacom_wac.h
index 6a1ff10b095a..a23d6a5fcc4f 100644
--- a/drivers/input/tablet/wacom_wac.h
+++ b/drivers/input/tablet/wacom_wac.h
@@ -41,6 +41,9 @@
/* device quirks */
#define WACOM_QUIRK_MULTI_INPUT 0x0001
+/* largest reported tracking id */
+#define MAX_TRACKING_ID 0xfff
+
enum {
PENPARTNER = 0,
GRAPHIRE,
@@ -96,6 +99,7 @@ struct wacom_wac {
int id[3];
__u32 serial[2];
int last_finger;
+ int trk_id;
struct wacom_features features;
struct wacom_shared *shared;
struct input_dev *input;