STRUCT TC3589X_KEYPAD_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct tc3589x_keypad_platform_data β€” the platform-specific keypad tea β˜• like, all the data your keypad needs handed to it on a little platter πŸŽ€

This is page 9 of the Kernel API Manual, bestie, so buckle up πŸ¦‹


✨ SYNOPSIS ✨

struct tc3589x_keypad_platform_data {
    const struct matrix_keymap_data *keymap_data;
    u8 krow;
    u8 kcol;
    u8 debounce_period;
    u8 settle_time;
    unsigned long           irqtype;
    bool enable_wakeup;
    bool no_autorepeat;
 };

okay so that's the whole struct, literally the entire vibe right there πŸ‘‘ no cap, that's it πŸ’œ


πŸŽ€ MEMBERS πŸŽ€

  • keymap_data β€” the matrix scan code table for keycodes πŸ—ΊοΈ like, this is the girl that tells you which key is which, iykyk
  • krow β€” mask for available rows, and its value is 0xFF ✨ remember that number, it matters
  • kcol β€” mask for available columns, value is also 0xFF 🌸 twins fr fr
  • debounce_period β€” platform-specific debounce time ⏳ the chill-out window so one press doesn't register like five times 😭
  • settle_time β€” platform-specific settle down time 🧚 let it settle, let it breathe, periodt
  • irqtype β€” type of interrupt, falling or rising edge πŸ”₯ it's giving "which direction does the signal go" energy
  • enable_wakeup β€” specifies if a keypad event can wake up the system from sleep 😴➑️😳 yes bestie, a keypress can absolutely be the main character here
  • no_autorepeat β€” flag for auto repetition πŸ” set it and the key won't keep going brrrr on its own

πŸ¦‹ SEE ALSO πŸ¦‹

  • Kernel file ./drivers/input/keyboard/tc3589x-keypad.c
  • struct tc_keypad(9) πŸ’–

okay so real talk, if you're poking at this struct you're already deep in keypad territory β€” go read that source file, it's right there 🫢

and that's the page, bestie!! πŸŽ€ written from ./drivers/input/keyboard, dated October 2026 β€” slay, see you in the next man page πŸ’…βœ¨πŸŒˆ

πŸ“¦ where this page comes from