diff options
| author | 2010-10-18 17:42:04 -0700 | |
|---|---|---|
| committer | 2010-10-18 17:42:04 -0700 | |
| commit | 422266e43d0ba67339b18f46e4c20659456da70d (patch) | |
| tree | 1327e8cc1118614281876934639b381d35cb020b /include/ui/InputReader.h | |
| parent | 187f1a951b17596e0e4179e5035565b418e2825f (diff) | |
| parent | 511ee5f89fad45bd0456b1335b745f2b8d87641b (diff) | |
Merge "Add support for calibrating touch position."
Diffstat (limited to 'include/ui/InputReader.h')
| -rw-r--r-- | include/ui/InputReader.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/ui/InputReader.h b/include/ui/InputReader.h index eb88d8bf670c..2d4bf8bb1587 100644 --- a/include/ui/InputReader.h +++ b/include/ui/InputReader.h @@ -584,6 +584,16 @@ protected: // Immutable calibration parameters in parsed form. struct Calibration { + // Position + bool haveXOrigin; + int32_t xOrigin; + bool haveYOrigin; + int32_t yOrigin; + bool haveXScale; + float xScale; + bool haveYScale; + float yScale; + // Touch Size enum TouchSizeCalibration { TOUCH_SIZE_CALIBRATION_DEFAULT, |