TouchController::sampleTouch
Hello
I use STM32F769I-DISCO.
Touch the screen to jump to the following functions.
bool OTM8009TouchController :: sampleTouch (int32_t & x, int32_t & y)
{
/ * USER CODE BEGIN OTM8009TouchController_sampleTouch * /
TS_StateTypeDef state;
BSP_TS_GetState (& state);
if (state.touchDetected)
{
x = state.touchX [0];
y = state.touchY [0];
return true;
}
return false;
/ * USER CODE END OTM8009TouchController_sampleTouch * /
}
I want to know where this function is called from, so when I step through it, I can't see the source.
Where does this function come from?
I want to use another touch controller
if (state.touchDetected)
{
x = state.touchX [0];
y = state.touchY [0];
return true;
}
Must write the process to get the coordinates for that controller.
Please let me know if it takes time to process it.
For that reason, I also want to know where this function is called from.
Thank you.