[LVGL9] How to config mouse-wheel for PC Simulator?


How to config mouse-wheel for PC Simulator by LVGL9

What MCU/Processor/Board and compiler are you using?

PC / Windows11

What LVGL version are you using?

version 9.0.0

What do you want to achieve?

Use mouse-wheel with LVGL9’s PC Simulator.

What have you tried so far?

I have tried lv_sdl_mousewheel_create()
however mouse-wheel no response.

Code to reproduce

  lv_display_t * disp = lv_sdl_window_create(w, h);

  lv_indev_t * mouse = lv_sdl_mouse_create();
  lv_indev_set_group(mouse, lv_group_get_default());
  lv_indev_set_display(mouse, disp);

  lv_indev_t * mousewheel = lv_sdl_mousewheel_create();
  lv_indev_set_display(mousewheel, disp);

Screenshot and/or video