db48dfe812
- Standardized keyboard input using Unicode-based key codes across supported devices and the simulator. Keyboards don't emit `LV_KEY_*` anymore. - Refactored lilygo encoder driver into a reusable GPIO rotary encoder driver (see `Drivers/gpio-encoder-module/`). Added more features to the config file. - Improved LVGL keyboard device management, including duplicate prevention and reliable reconnects. - LVGL file mutex now registers with lvgl start/stop - Improved LVGL startup/shutdown stability and memory allocation reliability. - Increased simulator LVGL memory capacity and improved USB device-class handling.
22 lines
420 B
C++
22 lines
420 B
C++
// SPDX-License-Identifier: Apache-2.0
|
|
#include <tactility/driver.h>
|
|
#include <tactility/module.h>
|
|
|
|
extern "C" {
|
|
|
|
extern Driver tdeck_keyboard_driver;
|
|
extern Driver tdeck_keyboard_backlight_driver;
|
|
|
|
static Driver* const lilygo_drivers[] = {
|
|
&tdeck_keyboard_driver,
|
|
&tdeck_keyboard_backlight_driver,
|
|
nullptr
|
|
};
|
|
|
|
Module lilygo_module = {
|
|
.name = "lilygo",
|
|
.drivers = lilygo_drivers
|
|
};
|
|
|
|
} // extern "C"
|