Public Member Functions | |
| TouchScreenManager (TouchInterrogator *interrogator, const TouchOrientationSettings &orientationSettings) | |
| void | start () |
| void | setUsedForScrolling (bool scrolling) |
| void | calibrateMinMaxValues (float xmin, float xmax, float ymin, float ymax) |
| void | setCalibration (const CalibrationHandler &other) |
| void | enableCalibration (bool ena) |
| TouchOrientationSettings | changeOrientation (const TouchOrientationSettings &newOrientation) |
| TouchOrientationSettings | getOrientation () |
| void | exec () override |
| virtual void | sendEvent (float locationX, float locationY, float touchPressure, TouchState touched)=0 |
|
pure virtual |
You must create a subclass extends from this and takes the three values converting into an event for processing.
| locationX | the location between 0 and 1 in the X domain |
| locationY | the location between 0 and 1 in the Y domain |
| touched | if the panel is current touched |
Implemented in iotouch::ValueStoringResistiveTouchScreen.