From 31ca81e274ac27ef4604aff14e4a81f6b4b98617 Mon Sep 17 00:00:00 2001 From: Garag Date: Mon, 13 Jan 2025 21:00:50 +0100 Subject: [PATCH] touch size adapted to screen size --- user_setups/esp32s3/sunton-esp32-s3-tft.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_setups/esp32s3/sunton-esp32-s3-tft.ini b/user_setups/esp32s3/sunton-esp32-s3-tft.ini index 5c4e9139..fbdf401a 100644 --- a/user_setups/esp32s3/sunton-esp32-s3-tft.ini +++ b/user_setups/esp32s3/sunton-esp32-s3-tft.ini @@ -145,8 +145,8 @@ build_flags = -D TFT_PREFER_SPEED=13900000 ; 1/2 of Typical DCLK Frequency -D TFT_AUTO_FLUSH=1 ; Touch Settings - -D TOUCH_WIDTH=480 - -D TOUCH_HEIGHT=272 + -D TOUCH_WIDTH=800 + -D TOUCH_HEIGHT=480 -D TOUCH_DRIVER=0x911 -D TOUCH_SCL=20 -D TOUCH_SDA=19