mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-23 17:53:45 +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_sdl_mouse_create();
|
||||
lv_sdl_mousewheel_create();
|
||||
lv_sdl_keyboard_create();
|
||||
}
|
||||
lv_indev_t * mousewheel = lv_sdl_mousewheel_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…
Reference in New Issue
Block a user