Declares position structure that keep information of a single touch.
Depending on a widget type each structure field keeps the following information:
| Structure Field | Slider | Matrix Buttons | CSD Touchpad | CSX Touchpad |
|---|---|---|---|---|
| x | X-axis position | Active Column | X-axis position | X-axis position |
| y | Reserved | Active Row | Y-axis position | Y-axis position |
| z | Reserved | Reserved | Reserved | MSB = Age of touch; LSB = Z-value |
| id | Reserved | Logical number of button | Reserved | MSB = Debounce; LSB = touch ID |
Data Fields | |
| uint16_t | x |
| X position. | |
| uint16_t | y |
| Y position. | |
| uint16_t | z |
| Z value. | |
| uint16_t | id |
| ID of touch. | |