drv_kbd_tca8418
I2C keyboard controller driver for the TI TCA8418. Register-based key scanning with GPIO interrupt.
Overview Proven
| HAL Type | Input |
| Chip | TCA8418 |
| Interface | I2C |
| Description | Keyboard controller with FIFO-based key event reading. GPIO interrupt triggers polling rather than continuous I2C traffic. |
Implementation
| Source | components/kernel_rs/src/drv_kbd_tca8418.rs (706 lines) |
| Wraps | None — manual I2C register reads |
| Tests | 12 unit tests |
Devices
Boards that use this driver:
| Device | Status |
|---|---|
| T-Deck | Proven |
| T-Deck Plus | Proven |
Configuration
Configured via board.json: I2C address (0x34), pin_sda, pin_scl, pin_int for key-press interrupt.
Known Issues
No known issues.