Hello @acd ,
Can I take it that you want to use mechanical keys to interact with the various widgets of the Lvgl library?
As far as I know, there is no way to change the generated files in simulation, which may require you to select a specific device model and import the entire project file into the MCUXpresso IDE to add groups.
Since Lvgl does not directly support mechanical keys as Input devices, you will need to create a custom Input Device. This device will be responsible for detecting the keystroke status and sending keystroke events to the Lvgl's input system.
In the setup_scr_screen.c file under the generated folder, you can create groups and place all the widgets(keypads) in them.
Hope my reply can help you.
Best Regards
Liu