STRUCT INPUT_VALUE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so bestie, welcome to the Kernel API Manual β€” this is struct input_value(9), and it's literally the input value representation. that's the name, no cap 🫢

🌸 SYNOPSIS 🌸

here's the struct in all its tiny iconic glory, copied exactly:

       struct input_value {
           __u16 type;
           __u16 code;
           __s32 value;
        };

πŸŽ€ Members πŸŽ€

  • type β€” type of value (EV_KEY, EV_ABS, etc) πŸ’…
  • code β€” the value code ✨
  • value β€” the value πŸŽ€

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./include/linux/input.h
  • struct input_dev(9)
  • struct input_handler(9)
  • struct input_handle(9)
  • input_set_events_per_packet(9)
  • struct ff_device(9)

that's the whole page, bestie πŸ’– it comes from ./include/linux and is dated October 2026 β€” mwah πŸ’…

πŸ“¦ where this page comes from