stm32746g discovery . BSP: stm32746g_discovery_ts. Touch screen events & gesture.
When working in interrupt mode, I can not track all the events.
I only see
TOUCH_EVENT_LIFT_UP
TOUCH_EVENT_CONTACT
moreover, the TOUCH_EVENT_LIFT_UP event is registered twice,
but the TOUCH_EVENT_PRESS_DOWN event is not logged at all.
if (TS_State.touchEventId [0] == TOUCH_EVENT_CONTACT)
{
counter_1 ++;
}
if (TS_State.touchEventId [0] == TOUCH_EVENT_LIFT_UP)
{
counter_2 ++;
}
if (TS_State.touchEventId [0] == TOUCH_EVENT_PRESS_DOWN)
{
counter_3 ++;
}
When accessing the register of gestures, zero is always returned.
Has anyone encountered this problem?