It may or may not be processed even if the button is pressed.
Thank you for helping.
environment:
board: custom
STM32TouchController :: sampleTouch () detects the touch and
Every time I press the button, it comes to the following if () and returns true.
The x and y coordinates are also valid values.
if (state.touchDetected)
{
x = state.touchX [0];
y = state.touchY [0];
return true;
}
However, it may or may not come inside the button's callback handler.
This is the part of n1_pushde () below.
xxxViewBase :: buttonCallbackHandler ()
{
if (& src == & BuzzerExitBtn)
{
application (). gotoMainScreenNoTransition ();
}
else if (& src == & n1button)
{
n1_pushed ();
}
}
What's wrong?