Searched refs:last_state (Results 1 – 3 of 3) sorted by relevance
39 lv_indev_state_t last_state; member133 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()
107 lv_indev_state_t last_state; member
762 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() local912 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()