summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/wacom_wac.h
diff options
context:
space:
mode:
authorChris Bagwell <chris@cnpbagwell.com>2011-10-26 22:32:52 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-10-26 22:36:06 -0700
commit4134361af6e099e5f477663fed1d49f0cf29eb4f (patch)
tree210cb39d920208495d3f310a08d68454fd1f8e57 /drivers/input/tablet/wacom_wac.h
parentc5981411f60c31f0dff6f0f98d2d3711384badaf (diff)
downloadblackbird-op-linux-4134361af6e099e5f477663fed1d49f0cf29eb4f.tar.gz
blackbird-op-linux-4134361af6e099e5f477663fed1d49f0cf29eb4f.zip
Input: wacom - read 3rd gen Bamboo Touch HID data
Override invalid pen based pktlen and x/y_max with touch values from HID report. Since active area of pen and touch are same on these devices, set physical x/y size while pen x/y_max and resolution are still valid. Signed-off-by: Chris Bagwell <chris@cnpbagwell.com> 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/tablet/wacom_wac.h b/drivers/input/tablet/wacom_wac.h
index 53eb71b68330..af94e6d9d6a9 100644
--- a/drivers/input/tablet/wacom_wac.h
+++ b/drivers/input/tablet/wacom_wac.h
@@ -22,6 +22,7 @@
#define WACOM_PKGLEN_TPC1FG 5
#define WACOM_PKGLEN_TPC2FG 14
#define WACOM_PKGLEN_BBTOUCH 20
+#define WACOM_PKGLEN_BBTOUCH3 64
/* device IDs */
#define STYLUS_DEVICE_ID 0x02
OpenPOWER on IntegriCloud