Fix touchscreen offset to match temperature calibration.

Apply XPT2046 rotation-2 transform and the same landscape map used by the climate project.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-10-17 17:48:36 +08:00
parent b54e36b487
commit fe4b085641
5 changed files with 89 additions and 39 deletions

View File

@@ -1,5 +1,10 @@
# Changelog
## 2026-10-17 — Fix touch offset
- SoftSPI touch now uses the same rotation=2 transform + map as `temperature`.
- Pressure (Z) sampling instead of IRQ-only; oversampled like XPT2046_Touchscreen.
## 2026-10-17 — Prebuilt firmware folder
- Add `firmware/cyd/` with bin + `flash.ps1` / `flash.bat` (same pattern as temperature).