Solved
Does touchgfx support multi-touch?
Hello, everyone.
Does touchgfx support multi-touch?
Thanks in advance!
Hello, everyone.
Does touchgfx support multi-touch?
Thanks in advance!
Hi @Fanny XU,
TouchGFX doesn't support multi touch. The TouchController interface is based on a single set of coordinates and whether a touch was registered or not.
/**
* @fn virtual bool TouchController::sampleTouch(int32_t& x, int32_t& y) = 0;
*
* @brief 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.
*
* @param [out] x The x position of the touch
* @param [out] y The y position of the touch
*
* @return True if a touch has been detected, otherwise false.
*/
virtual bool sampleTouch(int32_t& x, int32_t& y) = 0;If you have a touch controller IC that can do multi-touch you could probably imeplement these as special events and propagate them to your active views.
Best regards,
Martin
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.