STRUCT TC3589X_KEYPAD_PLATFORM_DATA(9)
π 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, iykykkrowβ mask for available rows, and its value is0xFFβ¨ remember that number, it matterskcolβ mask for available columns, value is also0xFFπΈ twins fr frdebounce_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, periodtirqtypeβ type of interrupt, falling or rising edge π₯ it's giving "which direction does the signal go" energyenable_wakeupβ specifies if a keypad event can wake up the system from sleep π΄β‘οΈπ³ yes bestie, a keypress can absolutely be the main character hereno_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
- 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