Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why was lv_drivers removed in version V9.0? #56

Open
chenzhujin opened this issue Aug 18, 2024 · 2 comments
Open

Why was lv_drivers removed in version V9.0? #56

chenzhujin opened this issue Aug 18, 2024 · 2 comments

Comments

@chenzhujin
Copy link

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?

@chenzhujin
Copy link
Author

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!

@YobeZhou
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants