Ken Van Hoeylandt 65ee223876
CL-32 drivers & more (#652)
- CL-32 features added:
  - Hardware revision detection
  - v0.3 and v0.4 keyboard 
  - v0.4 power supply
  - Inlined epd library (was a module) and made changes to the device definition (don't do full update after 5 small updates)
- Statusbar: add support for inverted colors
- e-paper driver improvements and warning fixes
- Implemented gpio_controller_get_level()
- Keyboard support improvements (unicode for tca drivers)
2026-09-14 00:06:55 +02:00

35 lines
685 B
C

// SPDX-License-Identifier: Apache-2.0
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#include <stdint.h>
#include <stdbool.h>
#include <tactility/drivers/gpio.h>
struct Tca8418Config {
// Devicetree address hint (0x34 on the LilyGO T-Deck Max).
uint8_t address;
uint8_t rows;
uint8_t columns;
bool reverse_columns;
const uint32_t* keymap_lc;
uint32_t keymap_lc_length;
const uint32_t* keymap_uc;
uint32_t keymap_uc_length;
const uint32_t* keymap_sy;
uint32_t keymap_sy_length;
uint8_t shift_row;
uint8_t shift_col;
uint8_t sym_row;
uint8_t sym_col;
struct GpioPinSpec pin_reset;
};
#ifdef __cplusplus
}
#endif