Gesture model listener cannot listen to linear movement | developer.brewmp.com Gesture model listener cannot listen to linear movement | developer.brewmp.com

Developer

Gesture model listener cannot listen to linear movement

Forums:

After study the BMP Sample "Handling Tap, Double Tap, Tap and Hold", I want to handle linear movement by IObserver.
I start LLM observation on touch observer, just like tap and double tap observation.
// Start Observation on linear movement
ERR_TRY( IObserver_StartObservation(pMe->piTO, TOUCHOBSF_LLM));

Then retrieve gesture model from touch observer and attach a listener to the model.

The fact is:
The listener can get EVT_MDL_GESTURE notification with gesture type TOUCHOBSF_TAPANDHOLD when tap and hold gesture
But it cannot get TOUCHOBSF_LLM when make movement. why? and how can i observe the linear movement? Thanks

Hi,
The sample "Using the Touchscreen Troubleshooting Applet" may help you with this. In the applet, last linear movement information is reported when the user removes the pointer from the screen (EVT_POINTER_UP).
Thanks,
Sam.

Hi,
The sample "Using the Touchscreen Troubleshooting Applet" may help you with this. In the applet, last linear movement information is reported when the user removes the pointer from the screen (EVT_POINTER_UP).
Thanks,
Sam.

I have got the sample, Thanks.

I have got the sample, Thanks.