Inactivity Measurement
A user's inactivity time is measured and stored with each lv_display_t object. Every use of an Input Device counts as activity.
A user's inactivity time is measured and stored with each lv_display_t object.
Every use of an Input Device counts as activity. To get time elapsed since the last
activity, use lv_display_get_inactive_time(display1). If NULL is
passed, the lowest inactivity time among all displays will be returned.
You can manually trigger an activity using lv_display_trigger_activity(display1).
Further Reading
- lv_port_disp_template.c for a template for your own driver.
- Drawing to learn more about how rendering works in LVGL.
Last updated on