From eaf972e92a176636850b5b55a63dcd1e0f74f0d6 Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Fri, 22 Mar 2024 11:46:15 +0100 Subject: [PATCH] fix(mousewheel): add to the default group fixes #36 --- main/src/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/src/main.c b/main/src/main.c index d6f3770..7a8de81 100644 --- a/main/src/main.c +++ b/main/src/main.c @@ -111,10 +111,11 @@ 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); lv_indev_set_group(kb, lv_group_get_default()); return disp; -} \ No newline at end of file +}