Searched refs:enc_pressed (Results 1 – 2 of 2) sorted by relevance
16 static bool enc_pressed; variable93 data->state = enc_pressed ? LV_INDEV_STATE_PRESSED : LV_INDEV_STATE_RELEASED; in lv_test_encoder_read_cb()111 enc_pressed = true; in lv_test_encoder_press()116 enc_pressed = false; in lv_test_encoder_release()
102 if(enc_pressed()) data->state = LV_INDEV_STATE_PRESSED;