1INPUT_MT_REPORT_SLOT(9) Input Subsystem INPUT_MT_REPORT_SLOT(9)
2
3
4
6 input_mt_report_slot_state - report contact state
7
9 void input_mt_report_slot_state(struct input_dev * dev,
10 unsigned int tool_type, bool active);
11
13 dev
14 input device with allocated MT slots
15
16 tool_type
17 the tool type to use in this slot
18
19 active
20 true if contact is active, false otherwise
21
23 Reports a contact via ABS_MT_TRACKING_ID, and optionally
24 ABS_MT_TOOL_TYPE. If active is true and the slot is currently inactive,
25 or if the tool type is changed, a new tracking id is assigned to the
26 slot. The tool type is only reported if the corresponding absbit field
27 is set.
28
30Kernel Hackers Manual 3.10 June 2019 INPUT_MT_REPORT_SLOT(9)