mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-14 06:42:58 +08:00
feat(github codespace): use mouse and mousewheel by default
This commit is contained in:
parent
1f58504e48
commit
562d30694a
@ -98,6 +98,9 @@ static void hal_init(void)
|
|||||||
lv_group_set_default(g);
|
lv_group_set_default(g);
|
||||||
|
|
||||||
lv_sdl_mouse_create();
|
lv_sdl_mouse_create();
|
||||||
lv_sdl_mousewheel_create();
|
lv_indev_t * mousewheel = lv_sdl_mousewheel_create();
|
||||||
lv_sdl_keyboard_create();
|
lv_indev_set_group(mousewheel, lv_group_get_default());
|
||||||
}
|
|
||||||
|
lv_indev_t * keyboard = lv_sdl_keyboard_create();
|
||||||
|
lv_indev_set_group(keyboard, lv_group_get_default());
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user