aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/input.h
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2012-09-15 09:15:58 -0400
committerHenrik Rydberg <rydberg@euromail.se>2012-09-19 13:50:17 -0400
commit8d18fba282120a4a8e4416d1202522ffae8cad58 (patch)
tree22e3ddabba314c9ad544b9fefe004194205c2940 /include/linux/input.h
parent4cbe5a555fa58a79b6ecbb6c531b8bab0650778d (diff)
Input: Break out MT data
Move all MT-related things to a separate place. This saves some bytes for non-mt input devices, and prepares for new MT features. Reviewed-and-tested-by: Benjamin Tissoires <benjamin.tissoires@enac.fr> Tested-by: Ping Cheng <pingc@wacom.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'include/linux/input.h')
-rw-r--r--include/linux/input.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/include/linux/input.h b/include/linux/input.h
index 725dcd0f63a4..9da4f5796fd6 100644
--- a/include/linux/input.h
+++ b/include/linux/input.h
@@ -1203,11 +1203,7 @@ struct ff_effect {
1203 * software autorepeat 1203 * software autorepeat
1204 * @timer: timer for software autorepeat 1204 * @timer: timer for software autorepeat
1205 * @rep: current values for autorepeat parameters (delay, rate) 1205 * @rep: current values for autorepeat parameters (delay, rate)
1206 * @mt: pointer to array of struct input_mt_slot holding current values 1206 * @mt: pointer to multitouch state
1207 * of tracked contacts
1208 * @mtsize: number of MT slots the device uses
1209 * @slot: MT slot currently being transmitted
1210 * @trkid: stores MT tracking ID for the current contact
1211 * @absinfo: array of &struct input_absinfo elements holding information 1207 * @absinfo: array of &struct input_absinfo elements holding information
1212 * about absolute axes (current value, min, max, flat, fuzz, 1208 * about absolute axes (current value, min, max, flat, fuzz,
1213 * resolution) 1209 * resolution)
@@ -1287,10 +1283,7 @@ struct input_dev {
1287 1283
1288 int rep[REP_CNT]; 1284 int rep[REP_CNT];
1289 1285
1290 struct input_mt_slot *mt; 1286 struct input_mt *mt;
1291 int mtsize;
1292 int slot;
1293 int trkid;
1294 1287
1295 struct input_absinfo *absinfo; 1288 struct input_absinfo *absinfo;
1296 1289