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

@@ -59,7 +59,7 @@ typedef struct {
struct _lv_obj_t;
typedef struct _lv_indev_state_t {
lv_indev_state_t event;
lv_indev_state_t state;
union {
struct { /*Pointer data*/
lv_point_t act_point;
@@ -95,6 +95,7 @@ struct _lv_group_t;
typedef struct _lv_indev_t {
lv_indev_drv_t driver;
lv_indev_proc_t proc;
uint32_t last_activity_time;
union {
struct _lv_obj_t *cursor;
struct _lv_group_t *group; /*Keypad destination group*/