AnsweredAssumed Answered

STM3232746g_discovery demo gesture problem

Question asked by benoch on Aug 31, 2015
Latest reply on Nov 9, 2016 by Masriera.Jordi
I'm trying to add to the ST Demo, the gesture recognition functionality provided by the touch screen. In the timer callback k_TouchUpdate, I added the following code, but the returned value is always zero.
How can I get it work?

uint8_t  gesture;

BSP_TS_GetState((TS_StateTypeDef *)&ts);

if(ts.touchDetected>1) { //>Multitouch        
        gesture = BSP_TS_Get_GestureId(&ts);