Great library folks, thanks!
I’m porting to a new board with an ESP32S3 and an HX8357D and XPT2046.
Display works, but I’m having trouble getting touch working (details below).
I can see touch happening in the
my_touchpad_read callback method, but LVGL doesn’t respond.
I’m using a modified version of
lvgl/examples/arduino/LVGL_Arduino/LVGL_Arduino.ino with TFT_eSPI and have calibrated the screen using that library.
I’ve tried on both HEAD of master and v8.3.3 of LVGL and HEAD and 2.4.72 of TFT_eSPI. I’ve found around 5 similar posts here, but none that suggests something that I haven’t yet tried.
Any ideas? Thanks!
Touch is registered via TFT_eSPI but doesn’t seem to reach the in_dev driver
ESP32S3 / PlatformIO core.
Tried both HEAD and v8.3.3
Get LVGL to respond to touchscreen events
Verified that touch events are reaching the indev_drv read_cb callback method which is passing on the data correctly. Verified calibration of the TS. Tried both HEAD and latest stable of the libraries. Doubled LV_MEM_SIZE.
- code on gitlab
- the sketch.ino (derived from LVGL_Arduino.ino)
- pindef etc. changes to library config
The display correctly shows the lv_demo_widgets demo.