input_mt_report_slot_state(9)
π NAME π
input_mt_report_slot_state β report contact state
okay bestie, welcome to the Kernel API Manual page for input_mt_report_slot_state, and no cap, it's giving βtiny function, very important multitouch state reportingβ energy. π
β¨
β¨ SYNOPSIS β¨
bool input_mt_report_slot_state (struct input_dev *dev , unsigned int
tool_type , bool active );
π ARGUMENTS π
devβ input device with allocated MT slotstool_typeβ the tool type to use in this slotactiveβtrueif contact is active,falseotherwise
π¦ DESCRIPTION π¦
okay so here's the tea, bestie: this function reports a contact via ABS_MT_TRACKING_ID, and optionally via ABS_MT_TOOL_TYPE too. 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.
It returns true if contact is active. that's it, that's the whole vibe. periodt. π
π₯
πΈ SEE ALSO πΈ
Kernel file: ./drivers/input/input-mt.c
input_mt_init_slots(9)input_mt_destroy_slots(9)input_mt_report_finger_count(9)input_mt_report_pointer_emulation(9)input_mt_drop_unused(9)input_mt_release_slots(9)input_mt_sync_frame(9)input_mt_assign_slots(9)input_mt_get_slot_by_key(9)
okay that's the whole page, bestie! This one's from the Kernel API Manual, source/version ./drivers/input, dated October 2026, for input_mt_report_slot_state(9). π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms