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

37 lines
630 B
C++

#include <tactility/module.h>
#include "cl32_detect.h"
#include "cl32_v4_keyboard.h"
#include "cl32_v4_power.h"
extern "C" {
static error_t start() {
cl32_power_detect_start();
return ERROR_NONE;
}
static error_t stop() {
cl32_power_detect_stop();
cl32_teardown_devices();
return ERROR_NONE;
}
static Driver* const cl32_drivers[] = {
&cl32_v4_power_driver,
&cl32_v4_power_supply_driver,
&cl32_v4_keyboard_driver,
nullptr
};
Module cl32_module = {
.name = "cl32",
.start = start,
.stop = stop,
.drivers = cl32_drivers,
.symbols = nullptr,
.internal = nullptr
};
}