STRUCT STMPE_KEYPAD(9)
π 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 isSTMPE_KEYPAD_MAX_DEBOUNCEβ±οΈscan_countβ number of key scanning cycles to confirm key data. Maximum isSTMPE_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
- 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