rc_keydown_notimeout(9)
π 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β thestruct rc_devdescriptor 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 π
scancode_to_u64(9)ir_create_table(9)ir_free_table(9)ir_resize_table(9)ir_update_mapping(9)ir_establish_scancode(9)ir_setkeycode(9)ir_setkeytable(9)ir_lookup_by_scancode(9)ir_getkeycode(9)rc_g_keycode_from_table(9)ir_do_keyup(9)rc_keyup(9)ir_timer_keyup(9)ir_timer_repeat(9)rc_repeat(9)ir_do_keydown(9)rc_keydown(9)rc_validate_scancode(9)rc_validate_filter(9)struct rc_filter_attribute(9)show_protocols(9)parse_protocol_change(9)store_protocols(9)show_filter(9)store_filter(9)show_wakeup_protocols(9)store_wakeup_protocols(9)
π 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
- 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