aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/tablet/wacom_wac.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-09-05 15:26:16 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-09-05 15:58:12 -0400
commitbc73dd39e78dd6e5b34cd938b7f037a8bc041bdd (patch)
tree9a2a8c5ea217708646e76429d274cbf25d1ebd2e /drivers/input/tablet/wacom_wac.h
parent4a88081e739a41d6d70bace7e0a027f9054ab540 (diff)
Input: wacom - collect device quirks into single function
Collect device-specific code into a single function, and use quirks to flag specific behavior instead. 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 fb30895d63e3..6a1ff10b095a 100644
--- a/drivers/input/tablet/wacom_wac.h
+++ b/drivers/input/tablet/wacom_wac.h
@@ -38,6 +38,9 @@
38#define WACOM_REPORT_TPC1FG 6 38#define WACOM_REPORT_TPC1FG 6
39#define WACOM_REPORT_TPC2FG 13 39#define WACOM_REPORT_TPC2FG 13
40 40
41/* device quirks */
42#define WACOM_QUIRK_MULTI_INPUT 0x0001
43
41enum { 44enum {
42 PENPARTNER = 0, 45 PENPARTNER = 0,
43 GRAPHIRE, 46 GRAPHIRE,
@@ -79,6 +82,7 @@ struct wacom_features {
79 int y_fuzz; 82 int y_fuzz;
80 int pressure_fuzz; 83 int pressure_fuzz;
81 int distance_fuzz; 84 int distance_fuzz;
85 unsigned quirks;
82}; 86};
83 87
84struct wacom_shared { 88struct wacom_shared {