I just have compiled the " lv_port_stm32f769_disco " - it runs fine!
However, since I connect a coursor object to the driver, every “click event” happens twice (two times). Please help!
(ex. using lv_ex_get_started_1 )
To use a pointing device with a cursor connected ?
Code to reproduce
indev_drv.read_cb = touchpad_read_cb;
indev_drv.type = LV_INDEV_TYPE_POINTER;
lv_indev_t * mouse_indev = lv_indev_drv_register(&indev_drv);
lv_obj_t * cursor_obj = lv_label_create(lv_scr_act(), NULL); //create object
lv_indev_set_cursor(mouse_indev, cursor_obj); // connect the object to the driver