Home
last modified time | relevance | path

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

/lvgl-latest/examples/others/monkey/
Dlv_example_monkey_3.c6 static lv_point_t btn_points[3]; in lv_example_monkey_3() local
16 config.input_range.max = sizeof(btn_points) / sizeof(lv_point_t) - 1; in lv_example_monkey_3()
20 btn_points[0].x = hor_res / 4; in lv_example_monkey_3()
21 btn_points[0].y = 10; in lv_example_monkey_3()
22 btn_points[1].x = hor_res / 2; in lv_example_monkey_3()
23 btn_points[1].y = 10; in lv_example_monkey_3()
24 btn_points[2].x = hor_res * 3 / 4; in lv_example_monkey_3()
25 btn_points[2].y = 10; in lv_example_monkey_3()
27 lv_indev_set_button_points(lv_monkey_get_indev(monkey), btn_points); in lv_example_monkey_3()
/lvgl-latest/examples/porting/
Dlv_port_indev_template.c167 static const lv_point_t btn_points[2] = {
171 lv_indev_set_button_points(indev_button, btn_points);
/lvgl-latest/src/hal/
Dlv_hal_indev.h179 const lv_point_t * btn_points; /**< Array points assigned to the button ()screen will be pressed member
/lvgl-latest/src/core/
Dlv_indev.c217 indev->btn_points = points; in lv_indev_set_button_points()
770 if(i->btn_points == NULL) { in indev_button_proc()
775 lv_coord_t x = i->btn_points[data->btn_id].x; in indev_button_proc()
776 lv_coord_t y = i->btn_points[data->btn_id].y; in indev_button_proc()