mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 02:45:05 +00:00
- Implemented themes with LSS: material, material mono - Implemented grid-based navigation - Added new Launcher - Updated Appearance app to add theme configuration - Updated various apps to improve UX/UI - Added LVGL widgets: cards, badges, chips, icon buttons - Added support for round/rounded displays - Added the concept of insets to LVGL and implemented it in toolbar + statusbar - Terminal app now hides toolbar by default, but tapping the terminal toggles visibility - File browsing now opens the configured user-data location by default - Added missing licenses to subprojects - Updated README.md screenshots and intro text
26 lines
651 B
C
26 lines
651 B
C
#pragma once
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
#include <lvgl.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
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
|