2023-08-23 12:51 AM
Hi, I have a question about the touch operation in the TouchGFX Designer.
I want to enlarge the display by spreading two fingers like a smartphone browser, but I can't find it even if I check the demo screen.
If it is possible to operate with two fingers, please point me to a page showing a usage example.
Solved! Go to Solution.
2023-08-23 04:23 AM
Hello @TN ,
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.
/**
* Samples the position of the mouse cursor.
*
* @param [out] x The x coordinate.
* @param [out] y The y coordinate.
*
* @return True if touch detected, false otherwise.
*/
bool doSampleTouch(int32_t& x, int32_t& y) const;
2023-08-23 04:23 AM
Hello @TN ,
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.
/**
* Samples the position of the mouse cursor.
*
* @param [out] x The x coordinate.
* @param [out] y The y coordinate.
*
* @return True if touch detected, false otherwise.
*/
bool doSampleTouch(int32_t& x, int32_t& y) const;
2023-08-23 09:38 PM
Thank you for answering, @Osman SOYKURT .
I understand that it is not possible to distinguish between multiple coordinates.
I will consider zooming in using other touch operations.