#include <ResistiveTouchScreen.h>
Public Member Functions | |
| CalibrationHandler (const CalibrationHandler &other)=default | |
| CalibrationHandler & | operator= (const CalibrationHandler &other)=default |
| void | setCalibrationValues (float mnX, float mxX, float mnY, float mxY) |
| void | enableCalibration (bool state) |
| float | calibrateX (float rawValue, bool isInverted) const |
| float | calibrateY (float rawValue, bool isInverted) const |
| float | getMinX () const |
| float | getMinY () const |
| float | getMaxX () const |
| float | getMaxY () const |
| void | setXPosition (float x, bool isMax) |
| void | setYPosition (float y, bool isMax) |
Provides calibration for IoAbstraction based touch facilities, it does so by recording the minimum and maximum values in the X and Y dimension and then correction values to fall within those ranges