FlexButtonCallbackHandler called after a flexButton is touched
Hello everyone,
I am using TouchGFX 4.23.1 on STM32H750xx and I am experiencing this behaviour. I have a screen with multilple flexbuttons and each one of them has a callback setted when it is pressed. Everything works fine except I've noticed that the callback is called only after I release the button. So after reading TouchGFX's guidelines, I have tried the handleClickEvent method but then button's flexButtonCallbackHandler is not called. So those are the two methods:
1) void MyScreen::flexButtonCallbackHandler(const touchgfx::AbstractButtonContainer &flexButton) -> It works fine but it is called only after I release the button;
2) void MyScreen::flexButtonCallbackHandler(const touchgfx::AbstractButtonContainer &flexButton) + void MyScreen::handleClickEvent(const ClickEvent& evt) -> My application can sense immediately the touch in handleClickEvent but then flexButtonCallbackHandler is not called. So I am able to differentiate PRESSED or RELEASE but I am not able to understand which button is pressed.
In conclusion, I would like to have a method that could immediately call my callbacks after user's touch press (Differentiating the buttons callbacks)
