How can I configure the menu widget to trigger the “<” back button in a sub page with the ESC key from keypad instead of manually navigating to it with PREV/NEXT and pressing ENTER?
Inside the event function subMenu_EscKey_Handler(lv_event_t * e), check which object called the event and with what data, and then simulate the LV_EVENT_CLICKED event on the “<” object
Inside the function you need to check which object called the function, whether the object on which you want to invoke the event exists, i.e. whether it is not NULL. etc
Pseudo code that does not contain any additional checks, but should: