feat(github codespace): use mouse and mousewheel by default

This commit is contained in:
Gabor Kiss-Vamosi 2023-07-14 23:22:44 +02:00 committed by GitHub
parent 1f58504e48
commit 562d30694a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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());
}