|
roo_display
API Documentation for roo_display
|
Public Member Functions | |
| void | initTouch () override |
| Initialize the touch controller. | |
| TouchResult | getTouch (TouchPoint *points, int max_points) override |
| Read the current touch state. | |
Public Member Functions inherited from roo_display::TouchDevice | |
| virtual | ~TouchDevice ()=default |
Definition at line 48 of file roo_display.cpp.
|
inlineoverridevirtual |
Read the current touch state.
If no touch is registered, returns {.touch_points = 0} and does not modify points. If $k$ touch points are registered, writes min(k, max_points) entries to points, and returns {.touch_points = k}. In both cases, the returned timestamp is the detection time.
| points | Output buffer for touch points. |
| max_points | Capacity of points. |
Implements roo_display::TouchDevice.
Definition at line 52 of file roo_display.cpp.
|
inlineoverridevirtual |
Initialize the touch controller.
Reimplemented from roo_display::TouchDevice.
Definition at line 50 of file roo_display.cpp.