ir_sharp_decode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

Okay so welcome to the ir_sharp_decode(9) manual page, bestie β€” today’s main character is ir_sharp_decode, and she decodes one Sharp pulse or space. ✨


πŸŽ€ SYNOPSIS πŸŽ€

int ir_sharp_decode (struct rc_dev *dev , struct ir_raw_event ev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the struct rc_dev descriptor of the device 🫢
  • ev β€” the struct ir_raw_event descriptor of the pulse/space πŸ’–

✨ DESCRIPTION ✨

So here’s the tea: this function returns -EINVAL if the pulse violates the state machine. That’s the whole vibe β€” pulse acts up, state machine says β€œnot today,” and you get -EINVAL back. No cap. πŸ’…


🌈 SEE ALSO 🌈


mwah πŸ’– that’s the whole page β€” source/version: ./drivers/media/rc, dated October 2026. Byeee! πŸŽ€

πŸ“¦ where this page comes from