text/plain
•
629 B
•
35 lines
/**
* @file lvgl_port.h
* Common LVGL port declarations for Moon firmware
*/
#pragma once
#include "lvgl.h"
/**
* Initialize LVGL display driver
* Platform-specific implementation in lvgl_port_sdl.c or lvgl_port_esp32.c
*/
void lvgl_port_init(void);
/**
* Get the LVGL display handle
*/
lv_display_t *lvgl_port_get_display(void);
/**
* Initialize LVGL input device (keypad)
* Shared implementation in lvgl_indev.c
*/
void lvgl_port_indev_init(void);
/**
* Get the LVGL input device handle
*/
lv_indev_t *lvgl_port_get_indev(void);
/**
* Get the default input group
*/
lv_group_t *lvgl_port_get_group(void);