I have an application with a LCD without touch panel. So I need to control the GUI by mechanical buttons.
What MCU/Processor/Board and compiler are you using?
STM32F429/Custom Board/GCC
What do you want to achieve?
How do I generate Key-Events from mechanical buttons and how can I generate such events in the simulator from PC keyboard to switch between screens for example?
What have you tried so far?
I just startet with LVGL and played around with some examples. I also searched the forum but I could not figure out how to do it.
Use the buttons to imitate presses on screens. Eg. you have UI buttons on the display on fixed positions and you want to press those buttons with an external button. In this case take a look at this
Use buttons to focus between elements (like with Tab on PC). In case chack this and this.