1STRUCT INPUT_MT(9) Input Subsystem STRUCT INPUT_MT(9)
2
3
4
6 struct_input_mt - state of tracked contacts
7
9 struct input_mt {
10 int trkid;
11 int num_slots;
12 int slot;
13 unsigned int flags;
14 unsigned int frame;
15 int * red;
16 struct input_mt_slot slots[];
17 };
18
20 trkid
21 stores MT tracking ID for the next contact
22
23 num_slots
24 number of MT slots the device uses
25
26 slot
27 MT slot currently being transmitted
28
29 flags
30 input_mt operation flags
31
32 frame
33 increases every time input_mt_sync_frame is called
34
35 red
36 reduced cost matrix for in-kernel tracking
37
38 slots[]
39 array of slots holding current values of tracked contacts
40
42Kernel Hackers Manual 3.10 June 2019 STRUCT INPUT_MT(9)