How to recieve touch position by manually?

Set an event function for the container and in LV_EVENT_PRESSING:

    lv_indev_t * indev = lv_indev_get_act();
    lv_point_t p;
    lv_indev_get_point(indev, &p);
1 Like