Home
last modified time | relevance | path

Searched refs:monkey (Results 1 – 9 of 9) sorted by relevance

/lvgl-3.7.0/src/extra/others/monkey/
Dlv_monkey.c70 lv_monkey_t * monkey = lv_mem_alloc(sizeof(lv_monkey_t)); in lv_monkey_create() local
71 LV_ASSERT_MALLOC(monkey); in lv_monkey_create()
73 lv_memset_00(monkey, sizeof(lv_monkey_t)); in lv_monkey_create()
75 monkey->config = *config; in lv_monkey_create()
77 lv_indev_drv_t * drv = &monkey->indev_drv; in lv_monkey_create()
81 drv->user_data = monkey; in lv_monkey_create()
83 monkey->timer = lv_timer_create(lv_monkey_timer_cb, monkey->config.period_range.min, monkey); in lv_monkey_create()
84 lv_timer_pause(monkey->timer); in lv_monkey_create()
86 monkey->indev = lv_indev_drv_register(drv); in lv_monkey_create()
88 return monkey; in lv_monkey_create()
[all …]
Dlv_monkey.h68 lv_indev_t * lv_monkey_get_indev(lv_monkey_t * monkey);
75 void lv_monkey_set_enable(lv_monkey_t * monkey, bool en);
82 bool lv_monkey_get_enable(lv_monkey_t * monkey);
91 void lv_monkey_set_user_data(lv_monkey_t * monkey, void * user_data);
98 void * lv_monkey_get_user_data(lv_monkey_t * monkey);
106 void lv_monkey_del(lv_monkey_t * monkey);
/lvgl-3.7.0/examples/others/monkey/
Dindex.rst2 Touchpad monkey example
5 .. lv_example:: others/monkey/lv_example_monkey_1
8 Encoder monkey example
11 .. lv_example:: others/monkey/lv_example_monkey_2
14 Button monkey example
17 .. lv_example:: others/monkey/lv_example_monkey_3
Dlv_example_monkey_2.c14 lv_monkey_t * monkey = lv_monkey_create(&config); in lv_example_monkey_2() local
18 lv_indev_set_group(lv_monkey_get_indev(monkey), group); in lv_example_monkey_2()
22 lv_monkey_set_enable(monkey, true); in lv_example_monkey_2()
Dlv_example_monkey_3.c17 lv_monkey_t * monkey = lv_monkey_create(&config); in lv_example_monkey_3() local
27 lv_indev_set_button_points(lv_monkey_get_indev(monkey), btn_points); in lv_example_monkey_3()
30 lv_monkey_set_enable(monkey, true); in lv_example_monkey_3()
Dlv_example_monkey_1.c12 lv_monkey_t * monkey = lv_monkey_create(&config); in lv_example_monkey_1() local
15 lv_monkey_set_enable(monkey, true); in lv_example_monkey_1()
/lvgl-3.7.0/docs/others/
Dmonkey.md3 A simple monkey test. Use random input to stress test the application.
9monkey, use `lv_monkey_config_t` to define the configuration structure, set the `type` (check [inp…
11 If you want to pause the monkey, call `lv_monkey_set_enable(monkey, false)`. To delete the monkey, …
24 .. include:: ../../examples/others/monkey/index.rst
Dindex.md10 monkey
/lvgl-3.7.0/docs/
DCHANGELOG.md232 - fix(monkey): remove executable permissions from source files [`3971`](https://github.com/lvgl/lvg…
648 - Add "monkey test"
684 - feat(others) add monkey test [`2885`](https://github.com/littlevgl/lvgl/pull/2885)