/lvgl-3.7.0/src/hal/ |
D | lv_hal_indev.c | 86 lv_indev_t * indev = _lv_ll_ins_head(&LV_GC_ROOT(_lv_indev_ll)); in lv_indev_drv_register() local 87 LV_ASSERT_MALLOC(indev); in lv_indev_drv_register() 88 if(!indev) { in lv_indev_drv_register() 92 lv_memset_00(indev, sizeof(lv_indev_t)); in lv_indev_drv_register() 93 indev->driver = driver; in lv_indev_drv_register() 95 indev->proc.reset_query = 1; in lv_indev_drv_register() 96 …indev->driver->read_timer = lv_timer_create(lv_indev_read_timer_cb, LV_INDEV_DEF_READ_PERIOD, inde… in lv_indev_drv_register() 98 return indev; in lv_indev_drv_register() 106 void lv_indev_drv_update(lv_indev_t * indev, lv_indev_drv_t * new_drv) in lv_indev_drv_update() argument 108 LV_ASSERT_NULL(indev); in lv_indev_drv_update() [all …]
|
D | lv_hal_indev.h | 207 void lv_indev_drv_update(lv_indev_t * indev, struct _lv_indev_drv_t * new_drv); 213 void lv_indev_delete(lv_indev_t * indev); 221 lv_indev_t * lv_indev_get_next(lv_indev_t * indev); 228 void _lv_indev_read(lv_indev_t * indev, lv_indev_data_t * data);
|
D | lv_hal_disp.c | 297 lv_indev_t * indev; in lv_disp_remove() local 298 indev = lv_indev_get_next(NULL); in lv_disp_remove() 299 while(indev) { in lv_disp_remove() 300 if(indev->driver->disp == disp) { in lv_disp_remove() 301 indev->driver->disp = NULL; in lv_disp_remove() 303 indev = lv_indev_get_next(indev); in lv_disp_remove()
|
/lvgl-3.7.0/src/core/ |
D | lv_indev.h | 43 void lv_indev_enable(lv_indev_t * indev, bool en); 57 lv_indev_type_t lv_indev_get_type(const lv_indev_t * indev); 64 void lv_indev_reset(lv_indev_t * indev, lv_obj_t * obj); 70 void lv_indev_reset_long_press(lv_indev_t * indev); 77 void lv_indev_set_cursor(lv_indev_t * indev, lv_obj_t * cur_obj); 84 void lv_indev_set_group(lv_indev_t * indev, lv_group_t * group); 92 void lv_indev_set_button_points(lv_indev_t * indev, const lv_point_t points[]); 99 void lv_indev_get_point(const lv_indev_t * indev, lv_point_t * point); 106 lv_dir_t lv_indev_get_gesture_dir(const lv_indev_t * indev); 113 uint32_t lv_indev_get_key(const lv_indev_t * indev); [all …]
|
D | lv_indev.c | 40 static void indev_proc_reset_query_handler(lv_indev_t * indev); 123 void lv_indev_enable(lv_indev_t * indev, bool en) in lv_indev_enable() argument 127 if(indev) { in lv_indev_enable() 128 indev->proc.disabled = enable; in lv_indev_enable() 144 lv_indev_type_t lv_indev_get_type(const lv_indev_t * indev) in lv_indev_get_type() argument 146 if(indev == NULL) return LV_INDEV_TYPE_NONE; in lv_indev_get_type() 148 return indev->driver->type; in lv_indev_get_type() 151 void lv_indev_reset(lv_indev_t * indev, lv_obj_t * obj) in lv_indev_reset() argument 153 if(indev) { in lv_indev_reset() 154 indev->proc.reset_query = 1; in lv_indev_reset() [all …]
|
D | lv_group.c | 87 lv_indev_t * indev = lv_indev_get_next(NULL); in lv_group_del() local 88 while(indev) { in lv_group_del() 89 if(indev->group == group) { in lv_group_del() 90 lv_indev_set_group(indev, NULL); in lv_group_del() 92 indev = lv_indev_get_next(indev); in lv_group_del() 481 lv_indev_t * indev = lv_indev_get_next(NULL); in get_indev() local 482 while(indev) { in get_indev() 483 lv_indev_type_t indev_type = lv_indev_get_type(indev); in get_indev() 484 if(indev->group == g) { in get_indev() 486 if(indev_type == LV_INDEV_TYPE_KEYPAD) return indev; in get_indev() [all …]
|
D | lv_obj_tree.c | 369 lv_indev_t * indev = lv_indev_get_next(NULL); in obj_del_core() local 370 while(indev) { in obj_del_core() 371 if(indev->proc.types.pointer.act_obj == obj || indev->proc.types.pointer.last_obj == obj) { in obj_del_core() 372 lv_indev_reset(indev, obj); in obj_del_core() 374 if(indev->proc.types.pointer.last_pressed == obj) { in obj_del_core() 375 indev->proc.types.pointer.last_pressed = NULL; in obj_del_core() 378 if(indev->group == group && obj == lv_indev_get_obj_act()) { in obj_del_core() 379 lv_indev_reset(indev, obj); in obj_del_core() 381 indev = lv_indev_get_next(indev); in obj_del_core()
|
D | lv_obj_scroll.c | 429 lv_indev_t * indev = lv_indev_get_next(NULL); in lv_obj_is_scrolling() local 430 while(indev) { in lv_obj_is_scrolling() 431 if(lv_indev_get_scroll_obj(indev) == obj) return true; in lv_obj_is_scrolling() 432 indev = lv_indev_get_next(indev); in lv_obj_is_scrolling() 457 lv_indev_t * indev = lv_indev_get_next(NULL); in lv_obj_get_scrollbar_area() local 459 while(indev) { in lv_obj_get_scrollbar_area() 460 if(lv_indev_get_scroll_obj(indev) == obj) break; in lv_obj_get_scrollbar_area() 461 indev = lv_indev_get_next(indev); in lv_obj_get_scrollbar_area() 463 if(indev == NULL) return; in lv_obj_get_scrollbar_area() 477 (sm == LV_SCROLLBAR_MODE_ACTIVE && lv_indev_get_scroll_dir(indev) == LV_DIR_VER))) { in lv_obj_get_scrollbar_area() [all …]
|
D | lv_indev_scroll.h | 48 lv_coord_t lv_indev_scroll_throw_predict(lv_indev_t * indev, lv_dir_t dir);
|
/lvgl-3.7.0/examples/widgets/obj/ |
D | lv_example_obj_2.c | 8 lv_indev_t * indev = lv_indev_get_act(); in drag_event_handler() local 9 if(indev == NULL) return; in drag_event_handler() 12 lv_indev_get_vect(indev, &vect); in drag_event_handler()
|
D | lv_example_obj_2.py | 5 indev = lv.indev_get_act() 8 indev.get_vect(vect)
|
/lvgl-3.7.0/src/extra/others/monkey/ |
D | lv_monkey.c | 26 lv_indev_t * indev; member 86 monkey->indev = lv_indev_drv_register(drv); in lv_monkey_create() 94 return monkey->indev; in lv_monkey_get_indev() 130 lv_indev_delete(monkey->indev); in lv_monkey_del()
|
/lvgl-3.7.0/docs/porting/ |
D | index.md | 11 indev
|
/lvgl-3.7.0/src/extra/widgets/tileview/ |
D | lv_tileview.c | 161 lv_indev_t * indev = lv_indev_get_act(); in tileview_event_cb() local 162 if(indev && indev->proc.state == LV_INDEV_STATE_PRESSED) { in tileview_event_cb()
|
/lvgl-3.7.0/docs/others/ |
D | monkey.md | 9 … configuration structure, set the `type` (check [input devices](/overview/indev) for the supported… 18 - `LV_INDEV_TYPE_KEYPAD` No effect, Send random [Keys](/overview/indev).
|
/lvgl-3.7.0/docs/overview/ |
D | index.md | 17 indev
|
/lvgl-3.7.0/demos/keypad_encoder/ |
D | lv_demo_keypad_encoder.c | 206 lv_indev_t * indev = lv_indev_get_act(); in ta_event_cb() local 207 if(indev == NULL) return; in ta_event_cb() 208 lv_indev_type_t indev_type = lv_indev_get_type(indev); in ta_event_cb()
|
D | README.md | 7 Learn more about the touchpad-less usage of LVGL [here](https://docs.lvgl.io/master/overview/indev.…
|
/lvgl-3.7.0/src/extra/widgets/colorwheel/ |
D | lv_colorwheel.c | 443 lv_indev_t * indev = lv_indev_get_act(); in lv_colorwheel_event() local 444 if(indev == NULL) return; in lv_colorwheel_event() 446 lv_indev_type_t indev_type = lv_indev_get_type(indev); in lv_colorwheel_event() 453 lv_indev_get_point(indev, &p); in lv_colorwheel_event() 456 lv_coord_t drag_limit = indev->driver->scroll_limit; in lv_colorwheel_event() 491 if(!on_ring && diff > indev->driver->long_press_time && !colorwheel->mode_fixed) { in lv_colorwheel_event() 567 lv_indev_t * indev = lv_indev_get_act(); in double_click_reset() local 569 if(lv_tick_elaps(colorwheel->last_click_time) < indev->driver->long_press_time) { in double_click_reset() 585 lv_indev_wait_release(indev); in double_click_reset()
|
/lvgl-3.7.0/src/widgets/ |
D | lv_dropdown.c | 1016 lv_indev_t * indev = lv_indev_get_act(); in btn_release_handler() local 1017 if(lv_indev_get_scroll_obj(indev) == NULL) { in btn_release_handler() 1028 lv_indev_type_t indev_type = lv_indev_get_type(indev); in btn_release_handler() 1055 lv_indev_t * indev = lv_indev_get_act(); in list_release_handler() local 1057 if(lv_indev_get_type(indev) == LV_INDEV_TYPE_ENCODER) { in list_release_handler() 1066 …if(lv_indev_get_type(indev) == LV_INDEV_TYPE_POINTER || lv_indev_get_type(indev) == LV_INDEV_TYPE_… in list_release_handler() 1068 lv_indev_get_point(indev, &p); in list_release_handler() 1091 lv_indev_t * indev = lv_indev_get_act(); in list_press_handler() local 1092 …if(indev && (lv_indev_get_type(indev) == LV_INDEV_TYPE_POINTER || lv_indev_get_type(indev) == LV_I… in list_press_handler() 1094 lv_indev_get_point(indev, &p); in list_press_handler()
|
D | lv_roller.c | 345 lv_indev_t * indev = lv_indev_get_act(); in lv_roller_event() local 347 lv_indev_get_vect(indev, &p); in lv_roller_event() 654 lv_indev_t * indev = lv_indev_get_act(); in release_handler() local 658 lv_indev_type_t indev_type = lv_indev_get_type(indev); in release_handler() 670 …if(lv_indev_get_type(indev) == LV_INDEV_TYPE_POINTER || lv_indev_get_type(indev) == LV_INDEV_TYPE_… in release_handler() 676 lv_indev_get_point(indev, &p); in release_handler() 703 … lv_coord_t label_y1 = label->coords.y1 + lv_indev_scroll_throw_predict(indev, LV_DIR_VER); in release_handler()
|
D | lv_btnmatrix.c | 471 lv_indev_t * indev = lv_indev_get_act(); in lv_btnmatrix_event() local 472 lv_indev_type_t indev_type = lv_indev_get_type(indev); in lv_btnmatrix_event() 475 lv_indev_get_point(indev, &p); in lv_btnmatrix_event() 546 lv_indev_t * indev = lv_event_get_param(e); in lv_btnmatrix_event() local 547 lv_indev_type_t indev_type = lv_indev_get_type(indev); in lv_btnmatrix_event() 550 if(indev == NULL) { in lv_btnmatrix_event() 551 indev = lv_indev_get_next(NULL); in lv_btnmatrix_event() 552 indev_type = lv_indev_get_type(indev); in lv_btnmatrix_event()
|
/lvgl-3.7.0/docs/widgets/extra/ |
D | spinner.md | 25 Learn more about [Keys](/overview/indev).
|
D | animimg.md | 31 Learn more about [Keys](/overview/indev).
|
/lvgl-3.7.0/src/extra/widgets/tabview/ |
D | lv_tabview.c | 325 lv_indev_t * indev = lv_indev_get_act(); in cont_scroll_end_event_cb() local 326 if(indev && indev->proc.state == LV_INDEV_STATE_PRESSED) { in cont_scroll_end_event_cb()
|