STRUCT INPUT_MT_POS(9)
π struct input_mt_pos(9) β like, the Kernel API Manual bestie β¨
okay so welcome to the glow-up of struct input_mt_pos(9), straight out of the Kernel API Manual β she's small, she's iconic, she's literally just a position, and honestly? she ate. π
πΈ NAME πΈ
struct input_mt_pos β contact position π«Ά
like. it's the position of a contact. that's the vibe. that's the whole vibe.
β¨ SYNOPSIS β¨
struct input_mt_pos {
s16 x, y;
};
look at her. two whole fields. minimalism is main character energy fr fr π
π Members π
xβ the horizontal coordinate, bestie. left-to-right business. πyβ the vertical coordinate. up-and-down business. up is up, down is down, no cap. π¦
ngl there are exactly two members and we are obsessed with both of them π
π§ SEE ALSO π§
Kernel file ./include/linux/input/mt.h β that's where she lives, go say hi π‘
struct input_mt_slot(9)πstruct input_mt(9)β
and that's the whole page, bestie, no notes π
sign-off time: this little love letter comes from ./include/linux/input, dated October 2026 β catch her again next time on struct input_mt_pos(9), mwah ππ
π¦ 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