input_mt_report_slot_state9
Report contact state
Usage
void input_mt_report_slot_state(struct input_dev * dev, unsigned int tool_type, bool active);
Arguments
dev
input device with allocated MT slots
tool_type
the tool type to use in this slot
active
true if contact is active, false otherwise
Overview
Reports a contact via ABS_MT_TRACKING_ID, and optionally ABS_MT_TOOL_TYPE. If active is true and the slot is currently inactive, or if the tool type is changed, a new tracking id is assigned to the slot. The tool type is only reported if the corresponding absbit field is set.
Releases
2 releases since Debian 7 (Wheezy); the text changed 1 time.