STRUCT STMPE_KEYPAD_VARIANT(9)
π NAME
struct stmpe_keypad_variant β model-specific attributes, periodt. This is the struct stmpe_keypad_variant(9) page from the Kernel API Manual, and it's basically the vibe sheet for this struct: what each member means, no cap β¨
β¨ SYNOPSIS
struct stmpe_keypad_variant {
bool auto_increment;
bool set_pullup;
int num_data;
int num_normal_data;
int max_cols;
int max_rows;
unsigned int col_gpios;
unsigned int row_gpios;
};
π Members
auto_incrementβ whether theKPC_DATA_BYTEregister address auto-increments on multiple read. That's the whole assignment, bestie πset_pullupβ whether the pins need to have their pull-ups set. Pull-up check: iconic πnum_dataβ number of data bytes. Counting bytes, living the dream.num_normal_dataβ number of normal keys' data bytes. Normal keys only, okay? πmax_colsβ maximum number of columns supported. Column queen behavior πmax_rowsβ maximum number of rows supported. Row king energy.col_gpiosβ bitmask of gpios which can be used for columns. Bitmask bestie, masky little legend.row_gpiosβ bitmask of gpios which can be used for rows. Same vibes, row edition π
π SEE ALSO
- Kernel file
./drivers/input/keyboard/stmpe-keypad.cβ go read it, bestie π«Ά struct stmpe_keypad(9)β the related struct, obviously π
okay that's the page, mwah π β source/version is ./drivers/input/keyboard, dated October 2026, and the title is struct stmpe_keypad_variant(9). bye bestie, go slay your keypad config π«Άβ¨
π¦ 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