Is there a way to use hardware buttons without animating the associated controls when clicked?


I’m looking for a way to respond to buttons click without showing a keypress on the associated button

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

STM32L4R5ZI Nucleo Board/MDK-ARM

What LVGL version are you using?


What do you want to achieve?

I’m using hardware buttons mapped to screen areas that are not visible (display is round, controls are placed at the 4 squares) to interact with the GUI. I want to avoid a refresh of the associated controls to reduce the display area to be updated.

What have you tried so far?

I tried to make the screen buttons transparent in every possible state, but still the area gets refreshed.

Code to reproduce

Screenshot and/or video