input_get_timestamp(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– input_get_timestamp(9) πŸ’–

okay so bestie, welcome to the Kernel API Manual, section 9 β€” we're doing input_get_timestamp today and it's honestly a little guy with a big job 🫢


🌸 NAME 🌸

input_get_timestamp β€” literally just: grab the timestamp for input events ✨

πŸŽ€ SYNOPSIS πŸŽ€

ktime_t * input_get_timestamp (struct input_dev *dev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the input device you're pulling the timestamp from. that's it, that's the whole argument πŸ’…

⭐ DESCRIPTION ⭐

so here's the vibe check: a valid timestamp is a timestamp with a non-zero value. that's the rule, no cap πŸ”₯

πŸ‘‘ SEE ALSO πŸ‘‘

listen, this function rolls with a huge friend group β€” the whole kernel file ./drivers/input/input.c plus:


and that's the whole page, bestie β€” no notes, iconic behavior only πŸ’œ

🧚 cute little sign-off: this one lives in ./drivers/input, dated October 2026, and yes it's still input_get_timestamp(9) β€” slay 🌈
πŸ“¦ where this page comes from