fix(mousewheel): add to the default group

fixes #36
This commit is contained in:
Gabor Kiss-Vamosi 2024-03-22 11:46:15 +01:00 committed by GitHub
parent 0a1a1a867c
commit eaf972e92a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -111,6 +111,7 @@ static lv_display_t * hal_init(int32_t w, int32_t h)
lv_indev_t * mousewheel = lv_sdl_mousewheel_create();
lv_indev_set_display(mousewheel, disp);
lv_indev_set_group(mousewheel, lv_group_get_default());
lv_indev_t * kb = lv_sdl_keyboard_create();
lv_indev_set_display(kb, disp);