mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-18 17:35:05 +00:00
- Updated LVGL from 8.3 to 9.0 (removed example/docs/demo folders) - Updated esp_lvgl_port to current status of the `lvgl9` branch on `esp-bsp`: https://github.com/espressif/esp-bsp/tree/lvgl9 - Updated all boards and drivers - Removed `libs/lv_drivers` subproject as SDL is now supported by LVGL directly (although keyboard input seems broken) - Updated `libs/lv_screenshot` - Fixed the way `tt_statusbar` widget works due to behaviour change in LVGL - Updated other lvgl code
16 lines
383 B
C
16 lines
383 B
C
#include "lvgl.h"
|
|
#include "ui/lvgl_keypad.h"
|
|
|
|
lv_display_t* lvgl_hal_init() {
|
|
static lv_display_t* display = NULL;
|
|
static lv_indev_t* mouse = NULL;
|
|
static lv_indev_t* keyboard = NULL;
|
|
|
|
display = lv_sdl_window_create(320, 240);
|
|
mouse = lv_sdl_mouse_create();
|
|
keyboard = lv_sdl_keyboard_create();
|
|
tt_lvgl_keypad_set_indev(keyboard);
|
|
|
|
return display;
|
|
}
|