Home
last modified time | relevance | path

Searched refs:last_state (Results 1 – 3 of 3) sorted by relevance

/lvgl-latest/src/drivers/nuttx/
Dlv_nuttx_touchscreen.c39 lv_indev_state_t last_state; member
133 touchscreen->last_state = LV_INDEV_STATE_PRESSED; in conv_touch_sample()
136 touchscreen->last_state = LV_INDEV_STATE_RELEASED; in conv_touch_sample()
166 data->state = touchscreen->last_state; in touchscreen_read()
185 data->state = touchscreen->last_state; in touchscreen_read()
217 touchscreen->last_state = LV_INDEV_STATE_RELEASED; in touchscreen_init()
/lvgl-latest/src/indev/
Dlv_indev_private.h107 lv_indev_state_t last_state; member
Dlv_indev.c762 i->keypad.last_state = LV_INDEV_STATE_RELEASED; /*To skip the processing of release*/ in indev_keypad_proc()
780 uint32_t prev_state = i->keypad.last_state; in indev_keypad_proc()
781 i->keypad.last_state = data->state; in indev_keypad_proc()
906 i->keypad.last_state = LV_INDEV_STATE_RELEASED; /*To skip the processing of release*/ in indev_encoder_proc()
911 lv_indev_state_t last_state = i->keypad.last_state; in indev_encoder_proc() local
912 i->keypad.last_state = data->state; in indev_encoder_proc()
929 if(data->state == LV_INDEV_STATE_PRESSED && last_state == LV_INDEV_STATE_RELEASED) { in indev_encoder_proc()
968 else if(data->state == LV_INDEV_STATE_PRESSED && last_state == LV_INDEV_STATE_PRESSED) { in indev_encoder_proc()
1030 else if(data->state == LV_INDEV_STATE_RELEASED && last_state == LV_INDEV_STATE_PRESSED) { in indev_encoder_proc()