|
roo_display
API Documentation for roo_display
|
A single touch point returned by a touch controller. More...
#include <device.h>
Public Member Functions | |
| TouchPoint () | |
Data Fields | |
| uint16_t | id |
| ID assigned by the driver, for tracking. For non-multitouch devices, this should be left at zero. | |
| int16_t | x |
| X-coordinate of the touch. | |
| int16_t | y |
| Y-coordinate of the touch. | |
| int16_t | z |
| Z-coordinate of the touch (pressure). Range [0-4095]. Drivers that don't support it should report 1024. | |
| int32_t | vx |
| X-axis velocity at the touch point, in pixels/sec. | |
| int32_t | vy |
| Y-axis velocity at the touch point, in pixels/sec. | |
| uint16_t roo_display::TouchPoint::id |
| int32_t roo_display::TouchPoint::vx |
X-axis velocity at the touch point, in pixels/sec.
Definition at line 408 of file device.h.
Referenced by roo_display::TouchDisplay::getTouch().
| int32_t roo_display::TouchPoint::vy |
Y-axis velocity at the touch point, in pixels/sec.
Definition at line 411 of file device.h.
Referenced by roo_display::TouchDisplay::getTouch().
| int16_t roo_display::TouchPoint::x |
X-coordinate of the touch.
Definition at line 398 of file device.h.
Referenced by roo_display::Display::getTouch(), and roo_display::TouchDisplay::getTouch().
| int16_t roo_display::TouchPoint::y |
Y-coordinate of the touch.
Definition at line 401 of file device.h.
Referenced by roo_display::Display::getTouch(), and roo_display::TouchDisplay::getTouch().
| int16_t roo_display::TouchPoint::z |