How to use LV_KEY_LEFT, LV_KEY_RIGHT, and LV_KEY_ENTER in LVGL to navigate a multi-level menu?

In the menu, there are many containers (cont). How to operate them using physical keys?


I’ve moved this topic to the “How-to” category.

Take a look at the Groups.

“I want to create a multi-level menu controlled only by 4 buttons. Could you provide some project references for this?”

“I modified the official Complex Menu demo, and I found that the label widget cannot be controlled by physical buttons.”

I have already used and registered Groups