|
SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
|
Represents a single touch point with its properties. More...
#include <TouchPoints.hpp>
Public Attributes | |
| uint16_t | x |
| X coordinate of the touch point. | |
| uint16_t | y |
| Y coordinate of the touch point. | |
| uint16_t | pressure |
| Pressure value (0 if not supported by the chip). | |
| uint8_t | id |
| Touch point ID for multi‑touch tracking. | |
| uint8_t | event |
| Event type based on actual hardware feedback, most touch devices do not support. | |
Represents a single touch point with its properties.
Definition at line 39 of file TouchPoints.hpp.
| uint8_t TouchPoint::event |
Event type based on actual hardware feedback, most touch devices do not support.
Definition at line 44 of file TouchPoints.hpp.
Referenced by TouchPoints::addPoint(), TouchDrvCST92xx::getTouchPoints(), and loop().
| uint8_t TouchPoint::id |
Touch point ID for multi‑touch tracking.
Definition at line 43 of file TouchPoints.hpp.
Referenced by TouchPoints::addPoint(), and loop().
| uint16_t TouchPoint::pressure |
Pressure value (0 if not supported by the chip).
Definition at line 42 of file TouchPoints.hpp.
Referenced by TouchPoints::addPoint(), and loop().
| uint16_t TouchPoint::x |
X coordinate of the touch point.
Definition at line 40 of file TouchPoints.hpp.
Referenced by TouchPoints::addPoint(), TouchDrvInterface::getPoint(), loop(), touch_drv_isr_handler(), and TouchDrvInterface::updateXY().
| uint16_t TouchPoint::y |
Y coordinate of the touch point.
Definition at line 41 of file TouchPoints.hpp.
Referenced by TouchPoints::addPoint(), TouchDrvInterface::getPoint(), loop(), touch_drv_isr_handler(), and TouchDrvInterface::updateXY().