STRUCT INPUT_REPORT_BODY_HEADER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct input_report_body_header β€” NAME πŸ’–

okay so this is the Kernel API Manual entry for struct input_report_body_header, and it's literally the input report body header definition in the HIDSPI protocol ✨ like that's the whole vibe, that's what she does 🫢


πŸŽ€ SYNOPSIS πŸŽ€

struct input_report_body_header {
    u8 input_report_type;
    __le16 content_len;
    u8 content_id;
};

three little fields, and honestly? she ate πŸ’… look at that struct, no cap, it's giving minimal and iconic 🌸


✨ Members ✨

  • input_report_type β€” this one tells you the input report type πŸ¦‹ and for the deets you gotta reference enum input_report_type. iykyk πŸ‘‘
  • content_len β€” the length of this input report body packet, periodt πŸ“ literally just how long the thing is πŸ’œ
  • content_id β€” this one indicates this input report's report id πŸŽ€ so like, which report it is, fr fr πŸ™ˆ

🌈 SEE ALSO 🌈

  • Kernel file ./include/linux/hid-over-spi.h β€” that's where she lives bestie πŸ’–
  • struct input_report_body(9)
  • struct output_report_header(9)
  • struct output_report(9)
  • struct hidspi_dev_descriptor(9)

go read those too, they're all in the same friend group 🫢✨


fr fr that's the whole page, no filler, no notes, no bugs listed, just vibes and a very tidy struct πŸ’…

and that's a wrap, babe πŸŽ€ this came out of ./include/linux, dated October 2026, so like... future iconic behavior honestly πŸ¦‹πŸ’– slay ⭐

πŸ“¦ where this page comes from