STRUCT RC_SCANCODE_FILTER(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 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:

🫢 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