ir_rc6_encode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ ir_rc6_encode(9) β€” Kernel API Manual 🌸

okay so bestie, this is the kernel page for ir_rc6_encode(9) β€” it's giving "turn a scancode into a stream of raw events" energy, and we are keeping every single deet. no cap. πŸ’…

πŸ’– NAME πŸ’–

ir_rc6_encode β€” Encode a scancode as a stream of raw events

πŸ¦‹ SYNOPSIS πŸ¦‹

int ir_rc6_encode (enum rc_proto protocol , u32 scancode , struct
       ir_raw_event *events , unsigned int max );

πŸŽ€ ARGUMENTS πŸŽ€

  • protocol β€” the protocol to encode, bestie
  • scancode β€” the scancode to encode
  • events β€” array of raw ir events to write into
  • max β€” maximum size of events

πŸ’€ RETURN πŸ’€

  • The number of events written.
  • -ENOBUFS if there isn't enough space in the array to fit the encoding. In this case all max events will have been written.
  • -EINVAL if the scancode is ambiguous or invalid.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/media/rc/ir-rc6-decoder.c ir_rc6_decode(9)


πŸ’œ k bye bestie β€” source/version is ./drivers/media/rc, it's dated October 2026, and the page is literally ir_rc6_encode(9) πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from