Implementation with FreeRTOS OSAL and LVGL 9.2
Sunton ESP32-S3 800x480 Capacitive touch display
Example using esp-idf 5.2 and the esp_lcd_touch_gt911 and lvgl components.
In gt911_touch_init, a callback is registered to map the measured touch coordinates to display coordinates, see header file for information.
idf.py set-target esp32s3 idf.py build flash monitor