indev: add inactivity timer

This commit is contained in:
Gabor Kiss-Vamosi
2017-12-11 12:53:58 +01:00
parent e7055bedf8
commit ae23300c07
3 changed files with 23 additions and 6 deletions

View File

@@ -96,7 +96,7 @@ void lv_indev_get_vect(lv_indev_t * indev, lv_point_t * point);
/**
* Get elapsed time since last press
* @param indev pointer to an input device
* @param indev pointer to an input device (NULL to get the overall smallest inactivity)
* @return Elapsed ticks (milliseconds) since last press
*/
uint32_t lv_indev_get_inactive_time(lv_indev_t * indev);