rc_keydown_notimeout(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rc_keydown_notimeout(9) β€” like, the Kernel API Manual page ✨

okay so bestie, welcome to the Kernel API Manual glow-up of rc_keydown_notimeout(9) πŸŽ€ this one is literally about telling the kernel "hey, a button got pressed on the remote" and then not auto-scheduling the key release. yes queen, you're in charge of the keyup yourself. main character energy fr fr πŸ’–


✨ NAME ✨

rc_keydown_notimeout β€” generates an input event for a key press without an automatic keyup event at a later time 🫢

like, no cap, the whole personality of this function is the notimeout part. no auto-keyup, that's on you πŸ¦‹


✨ SYNOPSIS ✨

void rc_keydown_notimeout (struct rc_dev *dev , enum rc_proto protocol ,
u64 scancode , u8 toggle );

✨ ARGUMENTS ✨

  • dev β€” the struct rc_dev descriptor of the device πŸ’– it's giving "the remote control's whole identity"
  • protocol β€” the protocol for the keypress 🌸
  • scancode β€” the scancode for the keypress ⭐
  • toggle β€” the toggle value (protocol dependent β€” and if the protocol doesn't support toggle values, this should be set to zero, no exceptions bestie πŸ’€)

✨ DESCRIPTION ✨

so this routine is used to signal that a key has been pressed on the remote control πŸŽ€ one job, done iconically.

⚠️ but here's the plot twist: the driver must manually call rc_keyup at a later stage. that's right β€” no automatic keyup is coming to save you. you booked this appointment yourself, bestie 😭 you gotta release the key on your own time, iykyk πŸ’…

✨ SEE ALSO ✨

Kernel file ./drivers/media/rc/rc-main.c β€” and the whole friend group πŸ‘‘


πŸ’– that's the whole page bestie, mwah πŸ’–

sign-off time πŸŽ€ this cutie lives in ./drivers/media/rc, dated October 2026, and it's page rc_keydown_notimeout(9) of the Kernel API Manual. slay, go press some buttons responsibly πŸ¦‹βœ¨

πŸ“¦ where this page comes from