It looks like evdev driver is not lined up with indev interface in version 6.1.1.
There are some compilation problems:
bool evdev_read(lv_indev_data_t * data), does not have
struct _lv_indev_drv_t * indev_drvargument (ref.
#include "lvgl/lv_hal/lv_hal_indev.h"is missig \src\ subdir
- there is no
evdev_exit()function (to close the event file handle)
What MCU/Processor/Board and compiler are you using?
It is a compilation problem.
What do you experience?
It does not compile.
indev_drv.read_cb = evdev_read;
What do you expect?
Code to reproduce
lv_indev_drv_t indev_drv; lv_indev_drv_init(&indev_drv); indev_drv.type = LV_INDEV_TYPE_POINTER; indev_drv.read_cb = evdev_read;
Screenshot and/or video
If possible, add screenshots and/or videos about the current issue.