DHCOM_HAL
Hardware-abstraction library (HAL) for multiple targets, including DHCOM modules
|
Reading the touchscreen coordinates. The class is virtualized to allow mockups while doing unit testing. More...
#include <touch.h>
Public Member Functions | |
Touch () | |
Constructs the touch object and connects to the hardware. | |
virtual | ~Touch () |
Destructs the touch object and disconnects from the hardware. | |
virtual void | getCoordinates (unsigned int &x, unsigned int &y) |
Reads the coordinates of the touch. | |
Reading the touchscreen coordinates. The class is virtualized to allow mockups while doing unit testing.