Calibrate touch from serial logs: invert physical X axis.

Bottom LVGL buttons were mapped to the top; add on-screen logic coordinate debug.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 18:01:05 +08:00
parent 86064bca9c
commit b09fca956f
7 changed files with 60 additions and 22 deletions

View File

@@ -77,10 +77,11 @@ void loop() {
refresh_sd_ui();
}
// 播放过程中刷新按钮文字(Playing / Stop)
if (now - last_btn_ui_ms >= 300) {
// 播放过程中刷新按钮文字;同步触点调试
if (now - last_btn_ui_ms >= 200) {
last_btn_ui_ms = now;
ui_refresh_audio_buttons();
ui_set_touch_debug(g_dbg_logic_x, g_dbg_logic_y, g_dbg_touch_down);
}
delay(5);