Multiple key presses from keypad


I’m new to lvgl. I’m currently playing with an esp32 to be a game emulator.
So far, not problems, I’ve created one canvas where the emulator can write directly in its buffer, and one window for the overlay menu.
I’m current working on the input part, and I cannot figure out how to send multiple key presses from my keypad driver.
My keypad returns a 8bits field, one bit per button.
The input callback return LV_INDEV_STATE_REL when no key is pressed… but what if I press right key, keep pressing while hammering the A or B key?


What MCU/Processor/Board and compiler are you using?

esp32 (m5stack core2)

What LVGL version are you using?


What do you want to achieve?

Multiple key press

What have you tried so far?

Sequential key presses, naivgation in menu…

Code to reproduce

Screenshot and/or video

ok, looking at the code, it seems like it is not supported…
That mean that a lvgl game is not possible when using lvgl key event system.
I will try to see if I can access the keys directly in the game engine and dispatch the keys to lvgl only when the settings menu is displayed