summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quantum/process_keycode/process_tap_dance.c4
-rw-r--r--quantum/quantum.h6
2 files changed, 8 insertions, 2 deletions
diff --git a/quantum/process_keycode/process_tap_dance.c b/quantum/process_keycode/process_tap_dance.c
index 8337806912..b55ace5ba8 100644
--- a/quantum/process_keycode/process_tap_dance.c
+++ b/quantum/process_keycode/process_tap_dance.c
@@ -16,6 +16,10 @@
#include "quantum.h"
#include "action_tapping.h"
+#ifndef TAPPING_TERM
+#define TAPPING_TERM 200
+#endif
+
#ifndef NO_ACTION_ONESHOT
uint8_t get_oneshot_mods(void);
#endif
diff --git a/quantum/quantum.h b/quantum/quantum.h
index 6833332117..87a61356c7 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -31,7 +31,7 @@
#include "backlight.h"
#endif
#if !defined(RGBLIGHT_ENABLE) && !defined(RGB_MATRIX_ENABLE)
- #include "rgb.h"
+ #include "rgb.h"
#endif
#ifdef RGBLIGHT_ENABLE
#include "rgblight.h"
@@ -108,7 +108,9 @@ extern uint32_t default_layer_state;
#include "process_unicodemap.h"
#endif
-#include "process_tap_dance.h"
+#ifdef TAP_DANCE_ENABLE
+ #include "process_tap_dance.h"
+#endif
#ifdef PRINTING_ENABLE
#include "process_printer.h"