STRUCT SDTX_EVENT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

struct sdtx_event β€” the event that’s provided by reading from the DTX device file. πŸ’– bestie, welcome to the Kernel API Manual entry for struct sdtx_event(9) β€” it’s giving β€œtiny struct, big main character energy.” ✨

πŸ’… SYNOPSIS πŸ’…

struct sdtx_event {
    __u16 length;
    __u16 code;
    __u8 data[];
};

πŸŽ€ Members πŸŽ€

  • length β€” length of the event payload, in bytes. literally the byte count, bestie. πŸ“
  • code β€” the event code, detailing what type of event this is. iykyk. πŸ”₯
  • data β€” the payload of the event, containing length bytes. the actual payload bestie, no cap. πŸ“

πŸ¦‹ Description πŸ¦‹

See enum sdtx_event_code for the currently valid event codes. that’s the vibe check for event codes, periodt. πŸ‘‘

🌈 SEE ALSO 🌈

  • Kernel file ./include/uapi/linux/surface_aggregator/dtx.h β€” enum sdtx_device_mode(9), enum sdtx_event_code(9), struct sdtx_base_info(9) ✨

later bestie 🫢 β€” source/version ./include/uapi/linux/surface_a..., October 2026, struct sdtx_event(9) out πŸ’…

πŸ“¦ where this page comes from