cancel
Showing results for 
Search instead for 
Did you mean: 

Gesture Events detection and handling

AMS22
Associate II

Hello,

I am working on gesture events and getting a little bit confused.

So, there is a method called sampleTouch that continuously checks if any new touch events are triggered (and used later on for example for click actions).

So my question is:

How to TouchGFX knows that a gesture is triggered:

1- is TouchGFX able to do that independently: for example, by comparing the latest coordinates that were touched?

OR

2- Do we need to tell touchGFX that there is a new gesture event (triggered from the controller driver): if yes, how to do this: I mean, is there any method like sampleTouch that is polling and fetching for new gestures ... ?

Thanks

1 REPLY 1
AMS22
Associate II

Any feedback please !