touchgfx::TouchController::sampleTouch() method
@fn virtual bool TouchController::sampleTouch(int32_t& x, int32_t& y) = 0; Checks whether the touch screen is being touched, and if so, what coordinates. Checks whether the touch screen is being touched, and if so, what coordinates.
virtual bool sampleTouch(int32_t& x,
int32_t& y) = 0;
Arguments
Return value
True if a touch has been detected, otherwise false.
Examples
touchgfx::TouchController::sampleTouch() is referenced by
4 libraries and example projects.