Description
Hello, I would like to control the focus myself, in the simulator using the physical keyboard.
For control in the tabview, I use lv_group, and I switch it using the keyboard. Then, by pressing the enter button, I use the transition to a new page that I wrote and there are 4 buttons there, which I also wrote in a new group for control via a callback.
So, when switching, I use lv_menu_set_page. With this implementation, I get the page, but it processes the keyboard callback from the first page, and not from the current one.
Previously, I used lv_menu_set_load_page_event and everything worked, and the callbacks worked correctly on each page. I used to attach a graphic button to it, but now I have a task to do it from the keyboard. And it seems that nothing can be hooked to this function. Tell me what to do.
What MCU/Processor/Board and compiler are you using?
Windows simulator
What LVGL version are you using?
9.2.2
What do you want to achieve?
A clear answer, because it is the coolest library.
What have you tried so far?
I tried refocusing the group, and I tried deleting the old callback on transition, but nothing worked.