lvgl / lv_port_linux

LVGL configured to work with a standard Linux framebuffer
MIT License
260 stars 160 forks source link

How do use touch in v9? #43

Closed pan1024 closed 6 months ago

pan1024 commented 10 months ago

step 1:set #define LV_USE_EVDEV 1 in lv_config.h step2:add lv_evdev_create(LV_INDEV_TYPE_POINTER,"/dev/input/event0"); in main function and set the second parameter

kisvegabor commented 10 months ago

So have you found the answer and was it working well?

If so you could you open a Pull request to update the README with information that would have been useful for you to get started with v9?

pan1024 commented 10 months ago

So have you found the answer and was it working well?

If so you could you open a Pull request to update the README with information that would have been useful for you to get started with v9?

It works very well,and I think we should modify main.c, not the README, to provide a quick way for users to use it

kisvegabor commented 10 months ago

Sounds good!