STRUCT STPMIC1_ONKEY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct stpmic1_onkey β€” it's the OnKey data, bestie. That's the whole vibe πŸŽ€


✨ SYNOPSIS ✨

okay so here's the literal struct, character for character, do not touch:

struct stpmic1_onkey {
    struct input_dev *input_dev;
    int irq_falling;
    int irq_rising;
 };

ngl she's small but she's doing a lot πŸ’–


πŸŽ€ Members πŸŽ€

  • input_dev β€” a pointer to the input device 🫢 literally just a pointer. It points. At an input device. Iconic behavior honestly.
  • irq_falling β€” the irq that we are hooked on to πŸͺ yes that's the description, it's the irq we're hooked on to, that's the whole thing.
  • irq_rising β€” the irq that we are hooked on to 🌈 (yes, same description as irq_falling, no I will not be elaborating, the source said what it said and I respect the source πŸ’€)
fr fr bestie β€” the two irq fields have identical one-liners in the original. I'm not gonna invent extra lore about falling vs rising edges because that would be making stuff up, and we don't do that here πŸ™ˆ

🌸 SEE ALSO 🌸

  • Kernel file ./drivers/input/misc/stpmic1_onkey.c β€” go read the actual kernel file, iykyk πŸ‘‘

✨ that's the whole page, bestie ✨ this little cutie lives in ./drivers/input/misc and the page is dated October 2026 πŸ¦‹ thanks for reading, mwah πŸ’œ

πŸ“¦ where this page comes from