Open chenzhujin opened 2 months ago
int main(void) { lv_init(); /Linux display device init/ lv_linux_disp_init();
printf("init input\n");
//init input device
lv_sdl_mouse_create();
lv_sdl_keyboard_create();
lv_sdl_mousewheel_create();
lv_sdl_mousewheel_create();
printf("init input end\n");
/*Create a Demo*/
// lv_example_button_1(); // lv_demo_widgets(); // lv_demo_widgets_start_slideshow(); lv_example_ime_pinyin_2(); /Handle LVGL tasks/ while(1) { lv_timer_handler(); usleep(5000); } return 0; }
I know that V9.0 has integrated drivers into the src directory, and you can use them after adding initialization in the project. Thank you!
I know that V9.0 has integrated drivers into the src directory, and you can use them after adding initialization in the project.
Yes, they are here: https://github.com/lvgl/lvgl/tree/release/v9.0/src/drivers
I am unable to use the mouse and touch screen in version V9.0 on the Ubuntu system and development board because the lv_drivers module is missing. How can I add this module to the V9.0 package?