Fix double touch rotation so bottom LVGL buttons receive hits.

Report physical 240x320 coordinates and let LVGL apply ROTATION_270.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 17:57:57 +08:00
parent 36bf614d11
commit 86064bca9c
4 changed files with 32 additions and 19 deletions

View File

@@ -1,9 +1,14 @@
# Changelog
## 2026-10-17 — Fix touch Y (buttons dead zone)
- Root cause: feeding already-landscape 320x240 points while LVGL also applies
ROTATION_270 (double transform) → only upper ~1/3 hit-tested correctly.
- Fix: report physical 240x320 coords; let LVGL rotate (matches `lv_indev.c`).
## 2026-10-17 — Restore LVGL touch
- SoftSPI + LVGL `lv_indev` (with `lv_indev_set_display`).
- Same landscape map as `temperature`; IRQ optional (sample-range fallback).
- Larger clickable speaker/play buttons.
## 2026-10-17 — Fix touch offset