rc_validate_scancode(9)
π NAME π
Hii bestie, welcome to the rc_validate_scancode(9) page in the Kernel API Manual β¨ This function is the vibe check for whether a scancode is valid for a protocol. And for nec, it should do the opposite of ir_nec_bytes_to_scancode() β yes, literally the opposite, no cap π«Ά
πΈ SYNOPSIS πΈ
Behold the signature, iconic and exact:
bool rc_validate_scancode (enum rc_proto proto , u32 scancode );
π ARGUMENTS π
protoβ the protocol, bestie.scancodeβ the scancode. Thatβs the whole assignment π
π¦ SEE ALSO π¦
The kernel file in question is ./drivers/media/rc/rc-main.c, and hereβs 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_keydown_notimeout(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)
Mwah π cute little sign-off: this pageβs source/version info is ./drivers/media/rc with October 2026, and yes, the page is rc_validate_scancode(9) πβ¨
π¦ 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