STRUCT OUTPUT_REPORT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

okay so bestie, welcome to struct output_report β€” it's the Output report definition in HIDSPI protocol ✨ that's the whole vibe, that's the whole struct 🫢

(this one lives in the Kernel API Manual, section 9, iykyk πŸŽ€)


✨ SYNOPSIS ✨

here's the actual shape of it, no cap, copied exactly:

struct output_report {
    struct output_report_header output_hdr;
    u8 content[];
};

like. look at her. struct with a header and a flexible array, she's literally iconic πŸ’œ


🌸 Members 🌸

  • output_hdr β€” the output report header πŸŽ€ that's it, that's the member
  • content β€” the output report content πŸ¦‹ (it's a u8 content[], so yes she's flexible, we love a variable-length queen)

so the report is basically: header first, then whatever content she's carrying. main character energy from top to bottom πŸ’…


πŸ¦‹ SEE ALSO πŸ¦‹

go read these next, bestie, they're all right there in the kernel file ./include/linux/hid-over-spi.h:

  • struct input_report_body_header(9)
  • struct input_report_body(9)
  • struct output_report_header(9)
  • struct hidspi_dev_descriptor(9)

fr fr go look at output_report_header(9) first, it's the direct vibes match πŸ”₯


πŸ’– tiny reminder that the SEE ALSO list above is exactly what the page says β€” no extra reading recs from me, I'm just the messenger 🧚

and that's the whole page, periodt πŸ’€βœ¨ file path ./include/linux, dated October 2026, Kernel API Manual, struct output_report(9) β€” slay, go parse some HIDSPI reports bestie πŸŒˆπŸ‘‘πŸ“

πŸ“¦ where this page comes from