summaryrefslogtreecommitdiff
path: root/include/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/config.h')
-rw-r--r--include/config.h24
1 files changed, 22 insertions, 2 deletions
diff --git a/include/config.h b/include/config.h
index 7f637423d8..309d061541 100644
--- a/include/config.h
+++ b/include/config.h
@@ -539,11 +539,31 @@
#undef CONFIG_FW_WP_RO_SIZE
/*****************************************************************************/
-/* Motion sensor based gesture recognition */
+/* Motion sensor based gesture recognition information */
#undef CONFIG_GESTURE_DETECTION
-
+#ifndef CONFIG_GESTURE_DETECTION
+/* Which sensor to look for gesture recognition */
+#undef CONFIG_SENSOR_BATTERY_TAP
/* Sensor sampling interval for gesture recognition */
#undef CONFIG_GESTURE_SAMPLING_INTERVAL_MS
+/*
+ * Double tap detection parameters
+ * Double tap works by looking for two isolated Z-axis accelerometer impulses
+ * preceded and followed by relatively calm periods of accelerometer motion.
+ *
+ * Define an outer and inner window. The inner window specifies how
+ * long the tap impulse is expected to last. The outer window specifies the
+ * period before the initial tap impluse and after the final tap impulse for
+ * which to check for relatively calm periods. In between the two impulses
+ * there is a minimum and maximum interstice time allowed.
+ */
+#undef CONFIG_GESTURE_TAP_OUTER_WINDOW_T
+#undef CONFIG_GESTURE_TAP_INNER_WINDOW_T
+#undef CONFIG_GESTURE_TAP_MIN_INTERSTICE_T
+#undef CONFIG_GESTURE_TAP_MAX_INTERSTICE_T
+
+#endif
+
/*****************************************************************************/