STRUCT STMPE_KEYPAD_VARIANT(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 the KPC_DATA_BYTE register 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