diff --git a/firmware/src/boards/waveshare_amoled_206/touch.cpp b/firmware/src/boards/waveshare_amoled_206/touch.cpp index 99dd8fe..4681c31 100644 --- a/firmware/src/boards/waveshare_amoled_206/touch.cpp +++ b/firmware/src/boards/waveshare_amoled_206/touch.cpp @@ -10,9 +10,11 @@ // reg 0x03 / 0x04: X1 high (low nibble) + X1 low // reg 0x05 / 0x06: Y1 high (low nibble) + Y1 low // -// Axis orientation: started with no swap/mirror (matches the portrait FT3168 -// on the 1.8 board). If touch coordinates come out flipped/swapped on this -// panel, mirror/swap them in touch_read_into_shared_state() below. +// Axis orientation: verified on hardware (v2 Phase 1). The FT3168 reports +// directly in the panel's pixel space (~0..409 x ~0..501), correctly oriented +// (x grows left->right, y grows top->bottom, no axis swap). A center tap reads +// ~(209,228) vs the 410x502 panel center (205,251) — a 1:1 mapping within +// finger error. Raw values pass straight through; no mirror/swap/scale needed. static volatile bool touch_data_ready = false; static volatile bool touch_pressed = false;