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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user