lirc_scancode_event(9)
π« lirc_scancode_event(9) π«
okay so bestie, welcome to the Kernel API Manual β this is the page for lirc_scancode_event, and it's honestly such a little icon. short page, big main character energy. let's get into it π
β¨ NAME β¨
lirc_scancode_event β send scancode data to lirc so it can be relayed to userspace π and yes, the best part: this can be called in atomic context. no cap, that's the whole point of it, she's built different.
πΈ SYNOPSIS πΈ
void lirc_scancode_event (struct rc_dev *dev , struct lirc_scancode *lsc
);
like, look at her. void return, two pointers, zero drama. periodt π
π¦ ARGUMENTS π¦
devβ thestruct rc_devdescriptor of the device π«Ά you know, the remote-control device thingy. this is who's sending the vibes.lscβ thestruct lirc_scancodedescribing the decoded scancode β¨ this is the actual scancode info getting passed along, all decoded and ready to slay.
π SEE ALSO π
- Kernel file
./drivers/media/rc/lirc_dev.cβ the source file, go read her, she's iconic π₯ lirc_raw_event(9)β the raw counterpart, lowkey her sibling. iykyk π
π«Ά friendly reminder bestie: lirc_scancode_event is the decoded scancode one, and the whole selling point is that you can call it in atomic context. don't forget that part, it's giving important π
and that's the page!! mwah π this lil beauty lives in ./drivers/media/rc, dated October 2026, and she's filed under lirc_scancode_event(9) if you ever need to find her again. go be great, bestie βπ§πΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms