Gesture global context structure.
Data Fields | |
cy_stc_capsense_gesture_position_t | position1 |
Current position of the first touch. | |
cy_stc_capsense_gesture_position_t | positionLast1 |
Previous position of the first touch. | |
cy_stc_capsense_gesture_position_t | position2 |
Current position of the second touch. | |
cy_stc_capsense_gesture_position_t | positionLast2 |
Previous position of the second touch. | |
uint32_t | timestamp |
Current timestamp. | |
uint16_t | detected |
Detected gesture mask. | |
uint16_t | direction |
Mask of direction of detected gesture. | |
cy_stc_capsense_ofrt_context_t | ofrtContext |
One-finger rotate gesture context. | |
cy_stc_capsense_ofsl_context_t | ofslContext |
One-finger scroll gesture context. | |
cy_stc_capsense_tfzm_context_t | tfzmContext |
Two-finger zoom gesture context. | |
cy_stc_capsense_tfsc_context_t | tfscContext |
Two-finger single click gesture context. | |
cy_stc_capsense_ofes_context_t | ofesContext |
One-finger edge swipe gesture context. | |
cy_stc_capsense_offl_context_t | offlContext |
One-finger flick gesture context. | |
cy_stc_capsense_ofsc_context_t | ofscContext |
One-finger single click gesture context. | |
cy_stc_capsense_ofdc_context_t | ofdcContext |
One-finger double click gesture context. | |
cy_stc_capsense_ofcd_context_t | ofcdContext |
One-finger click and drag gesture context. | |
cy_stc_capsense_tfsl_context_t | tfslContext |
Two-finger scroll gesture context. | |
cy_stc_capsense_oflp_context_t | oflpContext |
One-finger long press gesture context. | |
uint8_t | numPosition |
Current number of touches. | |
uint8_t | numPositionLast |
Previous number of touches. | |