Indev explain group multiscreen

Please explain how groups work on multiple screens.


I use this
lv_indev_set_group(encoder_indev, g1);
and on one screen need controll roller , but on other screens other objects for example slider.
Ofcourse as default.
How is right way of adding objects into group.

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


What LVGL version are you using?


What do you want to achieve?

When screen transition ends focus in group to existed object on screen or default obj if actual screen dont have any from group.

What have you tried so far?

I test multiple groups for one indev, but this dont work (swith auto)

1 Like

Did you find the right way?