summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2014-07-24 13:27:18 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-07-25 18:26:06 -0700
commit5e740ce6043da476f1ee61c18af7d1df40ecbb57 (patch)
treeb734d228d8ade95d71f4d81718b9b614b7be18f3 /drivers/input/tablet
parentf348f329562da89bcd9b6acc420bf69860019199 (diff)
downloadblackbird-op-linux-5e740ce6043da476f1ee61c18af7d1df40ecbb57.tar.gz
blackbird-op-linux-5e740ce6043da476f1ee61c18af7d1df40ecbb57.zip
Input: wacom_serial4 - prepare for wacom USB moving to HID
wacom_wac.h will be moving to drivers/hid. Since we only need 3 definitions from it let's simply copy them over. Acked-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/tablet')
-rw-r--r--drivers/input/tablet/wacom_serial4.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/input/tablet/wacom_serial4.c b/drivers/input/tablet/wacom_serial4.c
index d3d251e27307..20ab802461e7 100644
--- a/drivers/input/tablet/wacom_serial4.c
+++ b/drivers/input/tablet/wacom_serial4.c
@@ -113,7 +113,6 @@
#include <linux/serio.h>
#include <linux/slab.h>
#include <linux/string.h>
-#include "wacom_wac.h"
MODULE_AUTHOR("Julian Squires <julian@cipht.net>, Hans de Goede <hdegoede@redhat.com>");
MODULE_DESCRIPTION("Wacom protocol 4 serial tablet driver");
@@ -149,6 +148,11 @@ MODULE_LICENSE("GPL");
#define F_HAS_STYLUS2 0x02
#define F_HAS_SCROLLWHEEL 0x04
+/* device IDs */
+#define STYLUS_DEVICE_ID 0x02
+#define CURSOR_DEVICE_ID 0x06
+#define ERASER_DEVICE_ID 0x0A
+
enum { STYLUS = 1, ERASER, CURSOR };
static const struct {
OpenPOWER on IntegriCloud