If a widget is in the group, it will be focusable by the encoder. Unfortunately there is no FLAG or other feature to overwrite it.
However you can do 2 things:
- Do not set a default group and manually add the required widgets to the group by using
lv_group_add_obj(group, obj)
- Keep using the default group, but remove the widgets if needed by
lv_group_remove_obj(obj)