Align touch and draw in one 320x240 space like CYD LVGL9.

Drop LVGL ROTATION_270 double-transform; SoftSPI rot3 maps directly to screen pixels.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 18:14:26 +08:00
parent 3768e545c0
commit 1381c221d9
7 changed files with 72 additions and 45 deletions

View File

@@ -1,7 +1,16 @@
# Changelog
## 2026-10-17 — Touch = draw coords (CYD LVGL9 official)
- Root cause: `LV_DISPLAY_ROTATION_270` double-transforms touch vs TFT_eSPI
(lvgl#7841 / CYD community).
- Fix per witnessmenow LVGL9 example: create display 320x240, rotation 0;
SoftSPI `setRotation(3)` map straight into the same 320x240 space.
- Red touch cursor follows reported point for visual check.
## 2026-10-17 — SoftSPI touch + LVGL inverse (fix mux)
- VSPI remux broke SD mount and froze touch at raw(0,4095).
- Touch back to SoftSPI on 25/32/39/33; SD keeps exclusive VSPI 18/19/23/5.
- Same temperature UI map, then invert LVGL ROTATION_270 for button hits.