aboutsummaryrefslogtreecommitdiffstats
path: root/halext/include
diff options
context:
space:
mode:
Diffstat (limited to 'halext/include')
-rw-r--r--halext/include/touchpad.h3
-rw-r--r--halext/include/touchpad_lld.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/halext/include/touchpad.h b/halext/include/touchpad.h
index 21e71a97..4f9dce1a 100644
--- a/halext/include/touchpad.h
+++ b/halext/include/touchpad.h
@@ -73,8 +73,9 @@ extern "C" {
void tpInit(TOUCHPADDriver *tp);
uint16_t tpReadX(void);
uint16_t tpReadY(void);
+void tpCalibrate(void);
-#if TOUCHPAD_PRESSURE
+#if TOUCHPAD_HAS_PRESSURE
uint16_t tpReadZ(void);
#endif
diff --git a/halext/include/touchpad_lld.h b/halext/include/touchpad_lld.h
index ab2e54d6..7b33f366 100644
--- a/halext/include/touchpad_lld.h
+++ b/halext/include/touchpad_lld.h
@@ -41,8 +41,8 @@
/* Error checks. */
/*===========================================================================*/
-#ifndef TOUCHPAD_PRESSURE
- #define TOUCHPAD_PRESSURE FALSE
+#ifndef TOUCHPAD_HAS_PRESSURE
+ #define TOUCHPAD_HAS_PRESSURE FALSE
#endif
/*===========================================================================*/