From 562d30694a810060f8a467ab686427431ca6e2ad Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Fri, 14 Jul 2023 23:22:44 +0200 Subject: [PATCH] feat(github codespace): use mouse and mousewheel by default --- .devcontainer/__main.c__ | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.devcontainer/__main.c__ b/.devcontainer/__main.c__ index 42bebffd9..b366a1e3c 100755 --- a/.devcontainer/__main.c__ +++ b/.devcontainer/__main.c__ @@ -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(); -} \ No newline at end of file + 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()); +}