summaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/wacom_wac.h
diff options
context:
space:
mode:
authorPing Cheng <pinglinux@gmail.com>2010-02-20 00:53:49 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-02-20 01:22:44 -0800
commit49b764aebde6ceea393f56cd3449bfa5720f8383 (patch)
tree6c74b3d42e4f1705e9f6d2766cd91940f9409249 /drivers/input/tablet/wacom_wac.h
parent23c239be223d7427da51656d6f196bde965d9796 (diff)
downloadblackbird-op-linux-49b764aebde6ceea393f56cd3449bfa5720f8383.tar.gz
blackbird-op-linux-49b764aebde6ceea393f56cd3449bfa5720f8383.zip
Input: wacom - add device type to device name string
Devices supporting both pen and touch features share the same product ID, but presented as 2 separate input devices. By adding device type to device name string we can help userspace applications and users differentiate between them. 'Finger' is used for the touch since touch has been used as a suffix by userland hotplugging services. Signed-off-by: Jason Childs <oblivian@users.sourceforge.net> 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.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/input/tablet/wacom_wac.h b/drivers/input/tablet/wacom_wac.h
index 3f4b89d51fe2..8590b1e8ec37 100644
--- a/drivers/input/tablet/wacom_wac.h
+++ b/drivers/input/tablet/wacom_wac.h
@@ -73,10 +73,11 @@ struct wacom_features {
};
struct wacom_wac {
+ char name[64];
unsigned char *data;
- int tool[2];
- int id[2];
- __u32 serial[2];
+ int tool[2];
+ int id[2];
+ __u32 serial[2];
struct wacom_features features;
};
OpenPOWER on IntegriCloud