summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mtdev.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/mtdev.h b/include/mtdev.h
index b759803..b621245 100644
--- a/include/mtdev.h
+++ b/include/mtdev.h
@@ -74,11 +74,14 @@
74 74
75#define MT_ABS_SIZE 11 75#define MT_ABS_SIZE 11
76 76
77#define MT_ID_NULL (-1)
78#define MT_ID_MIN 0
79#define MT_ID_MAX 65535
80
77/** 81/**
78 * struct mt_caps - protocol capabilities of kernel device 82 * struct mt_caps - protocol capabilities of kernel device
79 * @has_mtdata: true if the device has MT capabilities 83 * @has_mtdata: true if the device has MT capabilities
80 * @has_slot: true if the device sends MT slots 84 * @has_slot: true if the device sends MT slots
81 * @nullid: tracking id used to represent null
82 * @slot: slot event properties 85 * @slot: slot event properties
83 * @abs: ABS_MT event properties 86 * @abs: ABS_MT event properties
84 */ 87 */
@@ -86,7 +89,6 @@ struct mtdev_caps {
86 int has_mtdata; 89 int has_mtdata;
87 int has_slot; 90 int has_slot;
88 int has_abs[MT_ABS_SIZE]; 91 int has_abs[MT_ABS_SIZE];
89 int nullid;
90 struct input_absinfo slot; 92 struct input_absinfo slot;
91 struct input_absinfo abs[MT_ABS_SIZE]; 93 struct input_absinfo abs[MT_ABS_SIZE];
92}; 94};