Home
last modified time | relevance | path

Searched refs:enc_diff (Results 1 – 4 of 4) sorted by relevance

/lvgl-2.7.6/src/lv_core/
Dlv_indev.c105 else if(indev_act->driver.type == LV_INDEV_TYPE_ENCODER && data.enc_diff) { in _lv_indev_read_task()
613 data->enc_diff = 0; in indev_encoder_proc()
639 data->enc_diff--; in indev_encoder_proc()
643 data->enc_diff++; in indev_encoder_proc()
700 data->enc_diff--; in indev_encoder_proc()
704 data->enc_diff++; in indev_encoder_proc()
767 if(data->enc_diff != 0) { in indev_encoder_proc()
771 if(data->enc_diff < 0) { in indev_encoder_proc()
772 for(s = 0; s < -data->enc_diff; s++) lv_group_send_data(g, LV_KEY_LEFT); in indev_encoder_proc()
774 else if(data->enc_diff > 0) { in indev_encoder_proc()
[all …]
/lvgl-2.7.6/src/lv_hal/
Dlv_hal_indev.h76 int16_t enc_diff; /**< For LV_INDEV_TYPE_ENCODER number of steps since the previous read*/ member
Dlv_hal_indev.c149 data->enc_diff = 0; in _lv_indev_read()
/lvgl-2.7.6/examples/porting/
Dlv_port_indev_template.c348 data->enc_diff = encoder_diff;