rc_keydown(9)
β¨ rc_keydown(9) β¨
okay so bestie, welcome to the Kernel API Manual entry for rc_keydown(9) β yes the whole page is about this one tiny function and honestly? it's giving main character energy π
πΈ NAME πΈ
rc_keydown β literally generates an input event for a key press. that's it. that's the vibe π
π¦ SYNOPSIS π¦
void rc_keydown (struct rc_dev *dev , enum rc_proto protocol , u64
scancode , u8 toggle );
no cap, that's the whole signature. stay with me, we're gonna walk through every single parameter π«Ά
π ARGUMENTS π
devβ thestruct rc_devdescriptor of the device π like, the whole remote control's identity card, y'know?protocolβ the protocol for the keypress π‘ which dialect your remote is speaking, basically.scancodeβ the scancode for the keypress π’ the raw little number the button sent out into the world.toggleβ the toggle value β and here's the tea, it's protocol dependent π if the protocol doesn't support toggle values, this should be set to zero. zero. not one. not "whatever". zero β
β¨ DESCRIPTION β¨
so this routine is used to signal that a key has been pressed on the remote control π that's the entire description, she's short and she knows it. iconic. use it when a button goes down, periodt.
π SEE ALSO π
kernel file ./drivers/media/rc/rc-main.c β and now, the guest list π (it's long, buckle up bestie):
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_notimeout(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)
all twenty-eight of them, nobody got left off the list π«Άβ¨
and that's the whole page, bestie!! mwah π this one lives in ./drivers/media/rc, blessed us in October 2026, and it's filed under rc_keydown(9) β go forth and press keys ππ₯π
π¦ 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