STRUCT INPUT_MT_SLOT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, meet struct input_mt_slot(9) β€” direct from the Kernel API Manual β€” and she literally represents the state of an input MT slot. that's the whole vibe. no cap. πŸ’…

🌸 SYNOPSIS 🌸

struct input_mt_slot {
    int abs[ABS_MT_LAST - ABS_MT_FIRST + 1];
    unsigned int frame;
    unsigned int key;
 };

πŸŽ€ Members πŸŽ€

three little members, and they are lowkey iconic:

  • abs β€” holds current values of ABS_MT axes for this slot. it's giving current-values-for-this-slot energy. ✨
  • frame β€” last frame at which input_mt_report_slot_state was called. yes, that exact function name, write it down bestie. 🫢
  • key β€” optional driver designation of this slot. optional, so don't come for her. πŸ’…

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/linux/input/mt.h β€” and while you're in there, peek at struct input_mt(9), struct input_mt_pos(9). iykyk πŸ”₯

mwah πŸ’‹ this cutie is from ./include/linux/input, dated October 2026, and it's literally the struct input_mt_slot(9) page. periodt. 🌈

πŸ“¦ where this page comes from