Declares touch structure used to store positions of Touchpad, Matrix buttons, Slider and Liquid Level widgets.
Data Fields | |
| cy_stc_capsense_position_t * | ptrPosition |
| Pointer to the array containing the position information. More... | |
| uint8_t | numPosition |
| Total number of detected touches on a widget: More... | |
| cy_stc_capsense_position_t* cy_stc_capsense_touch_t::ptrPosition |
Pointer to the array containing the position information.
A number of elements is defined by numPosition.
| uint8_t cy_stc_capsense_touch_t::numPosition |
Total number of detected touches on a widget:
The below table specifies a number of touches could be reported for a specific widget.
| CAPSENSE | Number of positions | |||||
|---|---|---|---|---|---|---|
| Sensing method | Widget type | 0 | 1 | 2 | 3 | Multiple |
| CSD | Button | No touch detected | Number of active sensors (up to number of sensors) | N/A | ||
| Matrix button | Single touch detected | N/A | N/A | Multiple touches detected | ||
| Linear slider | Single touch detected | N/A | N/A | N/A | ||
| Radial slider | Single touch detected | N/A | N/A | N/A | ||
| Touchpad | Single touch detected | Two touches detected | N/A | Multiple touches detected | ||
| Proximity | Number of active sensors (up to number of sensors) | N/A | ||||
| CSX | Button | Number of active sensors (up to number of sensors) | N/A | |||
| Matrix button | Number of active sensors (up to number of sensors) | N/A | ||||
| Linear slider | Single touch detected | N/A | N/A | N/A | ||
| Touchpad | Number of touches (up to 3) | N/A | ||||