aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/touchpad.h4
-rw-r--r--include/touchpad_lld.h12
2 files changed, 12 insertions, 4 deletions
diff --git a/include/touchpad.h b/include/touchpad.h
index 8e2d63f8..18f72ec5 100644
--- a/include/touchpad.h
+++ b/include/touchpad.h
@@ -52,10 +52,6 @@
/* Type definitions */
/*===========================================================================*/
-#ifndef TOUCHPAD_STORE_CALIBRATION
- #define TOUCHPAD_STORE_CALIBRATION FALSE
-#endif
-
/**
* @brief Struct used for calibration
*/
diff --git a/include/touchpad_lld.h b/include/touchpad_lld.h
index d00b6e6f..d300ddd2 100644
--- a/include/touchpad_lld.h
+++ b/include/touchpad_lld.h
@@ -41,6 +41,18 @@
/* Error checks. */
/*===========================================================================*/
+#ifndef TOUCHPAD_NEED_MULTITHREAD
+ #define TOUCHPAD_NEED_MULTITHREAD FALSE
+#endif
+
+#ifndef TOUCHPAD_XY_INVERTED
+ #define TOUCHPAD_XY_INVERTED FALSE
+#endif
+
+#ifndef TOUCHPAD_STORE_CALIBRATION
+ #define TOUCHPAD_STORE_CALIBRATION FALSE
+#endif
+
#ifndef TOUCHPAD_HAS_IRQ
#define TOUCHPAD_HAS_IRQ FALSE
#endif