STRUCT INPUT_MT_SLOT(9)
π 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 ofABS_MTaxes for this slot. it's giving current-values-for-this-slot energy. β¨frameβ last frame at whichinput_mt_report_slot_statewas 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 atstruct 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
- 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