input_mt_report_slot_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 slots
  • tool_type β€” the tool type to use in this slot
  • active β€” true if contact is active, false otherwise

πŸ¦‹ 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


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