mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-10-17 02:45:05 +00:00
- Implement double size icon assets in `lvgl-module` - `AppList` and `Settings` app now show a paginated grid of icons - T-Lora Pager gets a larger font to improve readability (14 -> 16 pixels) - Improve default widget selection in several apps (`PowerOff`, `AlertDialog`, `AppList`, `Settings`, `Boot`) - USB HID LVGL device is now only created when necessary. And the code is called in a safer way. - Renamed “Region & Language” to “Locale.” - The terminal toolbar is shown only when pointer input is available.
23 lines
464 B
C
23 lines
464 B
C
// SPDX-License-Identifier: Apache-2.0
|
|
#pragma once
|
|
|
|
#include <lvgl.h>
|
|
|
|
#include <stdbool.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* @brief Checks whether any registered LVGL input device is of the given type.
|
|
* @warning Caller must hold the LVGL lock.
|
|
* @param[in] type the input device type to look for
|
|
* @return true if at least one input device of the given type exists
|
|
*/
|
|
bool lvgl_indev_exists(lv_indev_type_t type);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|