#include <ResistiveTouchScreen.h>
Public Member Functions | |
virtual TouchState | internalProcessTouch (float *ptrX, float *ptrY, const TouchOrientationSettings &settings, const CalibrationHandler &calib)=0 |
A touch integrator is a class that is capable of receiving touch events from a touch panel and reporting those said events to the touch screen manager. It is a pull API in that internalProcessTouch
will be called to pull the value from this class as needed.
|
pure virtual |
called by the touch screen manager to get the latest touch information.
ptrX | a pointer to be populated with the X position between 0 and 1 |
ptrY | a pointer to be popualted with the Y position between 0 and 1 |
rotation | the rotation of the display, one of the above. |
calib | the calibration handler that can be used to adjust the values before returning from this method |
Implemented in iotouch::ResistiveTouchInterrogator.