1. 按键驱动重构:GPIO中断+手动去抖 → iot_button组件(单击/双击/长按) 2. 新增key_nav按键导航管理器:上下文状态机 + Set界面焦点蓝色边框高亮 3. 移除所有触摸手势/点击事件(ScreenHome/ScreenImg/ScreenSet) 4. 应援灯颜色切换优化:DISPOFF→直接写GRAM→DISPON,消除分band刷新 5. 亮度调节按键化:BOOT +10% / KEY -10% / KEY长按退出 6. 休眠管理适配:按键唤醒统一由key_nav处理 7. 新增迁移总结文档 docs/touch-to-button-migration.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
577 B
C
29 lines
577 B
C
// This file was generated by SquareLine Studio
|
|
// SquareLine Studio version: SquareLine Studio 1.6.0
|
|
// LVGL version: 8.3.11
|
|
// Project name: Lcd_Pro
|
|
|
|
#ifndef UI_SCREENHOME_H
|
|
#define UI_SCREENHOME_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
// SCREEN: ui_ScreenHome
|
|
extern void ui_ScreenHome_screen_init(void);
|
|
extern void ui_ScreenHome_screen_destroy(void);
|
|
extern lv_obj_t *ui_ScreenHome;
|
|
extern lv_obj_t *ui_Label1;
|
|
extern lv_obj_t *ui_Image3;
|
|
extern lv_obj_t *ui_Arc1;
|
|
extern lv_obj_t *ui_LabelHome;
|
|
// CUSTOM VARIABLES
|
|
|
|
#ifdef __cplusplus
|
|
} /*extern "C"*/
|
|
#endif
|
|
|
|
#endif
|
|
|