#pragma once #ifdef __cplusplus extern "C" { #endif #include #include void lvgl_keyboard_on_start_lvgl(); void lvgl_keyboard_on_stop_lvgl(); /** * @brief Translates a key codepoint into the LVGL key for the object that the indev's group focuses. * The arrow up and down keys move the focus to the previous and next widget, or within a grid navigation container. * @param[in] indev the indev that reports the key * @param[in] codepoint the key codepoint (see tactility/drivers/keyboard.h) * @return the LVGL key */ uint32_t lvgl_keyboard_translate_key(lv_indev_t* indev, uint32_t codepoint); #ifdef __cplusplus } #endif