STRUCT RC_SCANCODE_FILTER(9)
πΈ NAME πΈ
struct rc_scancode_filter β Filter scan codes. π
bestie, welcome to the Kernel API Manual; this is the little struct whose whole job is filtering scan codes, and honestly? iconic. β¨
β¨ SYNOPSIS β¨
It's giving struct definition realness π«Ά:
struct rc_scancode_filter {
u32 data;
u32 mask;
};
π Members π
dataβ scancode data to match. No cap, it's the scancode data you're matching πmaskβ mask of bits of scancode to compare. It's literally the mask of bits of the scancode to compare, periodt π
π SEE ALSO π
Kernel file ./include/media/rc-core.h β and the whole squad is here:
enum rc_driver_type(9)enum rc_filter_type(9)struct lirc_fh(9)struct rc_dev(9)rc_allocate_device(9)devm_rc_allocate_device(9)rc_free_device(9)rc_register_device(9)devm_rc_register_device(9)rc_unregister_device(9)
π«Ά okay that's the tea: this page comes from the Kernel file ./include/media, dated October 2026, for struct rc_scancode_filter(9) β byeee bestie, go filter those scan codes π
π¦ 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