STRUCT STMPE_KEYPAD(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct stmpe_keypad(9) Β· Kernel API Manual πŸ’–

okay bestie, welcome to the struct stmpe_keypad(9) page from the Kernel API Manual ✨ this is the whole state-container situation for the STMPE keypad, and it’s giving organized main character energy πŸ’…


🌸 NAME 🌸

struct stmpe_keypad β€” STMPE keypad state container πŸŽ€


✨ SYNOPSIS ✨

struct stmpe_keypad {
    struct stmpe *stmpe;
    struct input_dev *input;
    const struct stmpe_keypad_variant *variant;
    unsigned int debounce_ms;
    unsigned int scan_count;
    bool no_autorepeat;
    unsigned int rows;
    unsigned int cols;
    unsigned short keymap[STMPE_KEYPAD_KEYMAP_MAX_SIZE];
};

🫢 Members 🫢

okay so here’s the vibe check on every single member, no skips, no cap πŸ”₯

  • stmpe β€” pointer to the parent STMPE device, literally the parent-device connection πŸ’–
  • input β€” the spawned input device, it’s giving β€œI was created for this” ✨
  • variant β€” the STMPE variant, iykyk πŸ¦‹
  • debounce_ms β€” the debounce interval, in ms. Maximum is STMPE_KEYPAD_MAX_DEBOUNCE ⏱️
  • scan_count β€” number of key scanning cycles to confirm key data. Maximum is STMPE_KEYPAD_MAX_SCAN_COUNT πŸ”
  • no_autorepeat β€” disable key autorepeat, periodt πŸ™ˆ
  • rows β€” bitmask for the rows 🌈
  • cols β€” bitmask for the columns 🌸
  • keymap β€” the keymap, the main character map itself πŸ‘‘
  • keymap[STMPE_KEYPAD_KEYMAP_MAX_SIZE] β€” the keymap array with its exact max-size situation πŸ’€

πŸ”₯ SEE ALSO πŸ”₯

  • the kernel file ./drivers/input/keyboard/stmpe-keypad.c 🧚
  • struct stmpe_keypad_variant(9) πŸ’œ

okay that’s the whole page, bestie β€” source: ./drivers/input/keyboard Β· date: October 2026 Β· title: struct stmpe_keypad(9) 🫢 mwah πŸ’‹

πŸ“¦ where this page comes from