STRUCT INPUT_MT_POS(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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