aboutsummaryrefslogtreecommitdiffstats
path: root/include/ginput/lld/mouse.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-11-25 23:11:56 +1000
committerinmarket <andrewh@inmarket.com.au>2013-11-25 23:11:56 +1000
commit021f71445e77e0fbef7ff4dc78e0f6cc86a78968 (patch)
tree524e31684cb06986efa3442be63e079146f5fd06 /include/ginput/lld/mouse.h
parentc24ec8daf2f610c24dc8e6fd49be9b7022e9405e (diff)
downloaduGFX-021f71445e77e0fbef7ff4dc78e0f6cc86a78968.tar.gz
uGFX-021f71445e77e0fbef7ff4dc78e0f6cc86a78968.tar.bz2
uGFX-021f71445e77e0fbef7ff4dc78e0f6cc86a78968.zip
Add support for edge to edge touch calibration.
Diffstat (limited to 'include/ginput/lld/mouse.h')
-rw-r--r--include/ginput/lld/mouse.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ginput/lld/mouse.h b/include/ginput/lld/mouse.h
index a3056519..6b8246dc 100644
--- a/include/ginput/lld/mouse.h
+++ b/include/ginput/lld/mouse.h
@@ -31,6 +31,11 @@
#define GINPUT_MOUSE_NEED_CALIBRATION FALSE
#endif
+// TRUE/FALSE - Should the calibration happen at the extremes of the panel?
+#ifndef GINPUT_MOUSE_CALIBRATE_EXTREMES
+ #define GINPUT_MOUSE_CALIBRATE_EXTREMES FALSE
+#endif
+
// TRUE/FALSE - Can the mouse/touch driver itself save calibration data?
#ifndef GINPUT_MOUSE_LLD_CALIBRATION_LOADSAVE
#define GINPUT_MOUSE_LLD_CALIBRATION_LOADSAVE FALSE