How can I get a touch calibration example?

What LVGL version are you using?

latest version v8

What do you want to achieve?

I’d like to get a touch calibration example.
I’m trying to import my touch driver (xpt2046), the calibration code isn’t in it in touch lib and the latest version of lvgl.
I’ve searched it on web, but i couldn’t fine it :cry:
If you know where to find it, please let me know

Thanks for posting this. I looked also and while I found comments about such code, I never found the actual code (is it in lv_examples?) I calibrated manually by printing x/y values, “Swiping” in from left, top, right & bottom of screen, identifying min/maxes, then a tiny bit of math – works great! But it can’t be a product until this is automated. Bigger topic: a “Getting Started with LVGL” YouTube. Tempting to try…