I’m using physical buttons to control the virtual buttons in lvgl, so I’ve avoided using the event system lvgl provides so far. I have a button map, and so far the way I have toggled the button as pressed or unpressed is this:
The problem with this is that it clears all the buttons statuses. Is there a way to set a button in a button map as unpressed similar to how I set it to pressed?
Also sorry for poorly formatted code. I don’t see a code format option on this forum =/