Use Sunton 2432S028R official touch map and fix lower-left offset.

Match board JSON X/Y cmds and MIRROR_X; shift UI +45,-45 from red-vs-finger logs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 18:25:34 +08:00
parent 01c52661e4
commit 8a29196a39
5 changed files with 71 additions and 44 deletions

View File

@@ -1,10 +1,14 @@
# Changelog
## 2026-10-17 — Sunton official touch + log offset
- Use esp32-2432S028R.json touch flags: X=0xD1 Y=0x91, linear/4096, MIRROR_X.
- Keep landscape 240x320+ROTATION_270.
- Serial/user: red cursor lower-left of finger → UI corr (+45,-45), inverse-feed LVGL.
## 2026-10-17 — Restore landscape + RNT touch map
- Revert create(320x240) — caused 花屏; keep 240x320 + ROTATION_270 landscape.
- Touch = Random Nerd Tutorials recipe: SoftSPI rot2, map to 240x320, feed LVGL
directly (no extra inverse). Red cursor shows estimated UI point.
- Revert create(320x240) 花屏; RNT map superseded by Sunton official above.
## 2026-10-17 — Touch = draw coords (CYD LVGL9 official) [reverted]