summaryrefslogtreecommitdiffstats
path: root/users/wanleg/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/wanleg/config.h')
-rw-r--r--users/wanleg/config.h26
1 files changed, 19 insertions, 7 deletions
diff --git a/users/wanleg/config.h b/users/wanleg/config.h
index 22073449b..0c8b048af 100644
--- a/users/wanleg/config.h
+++ b/users/wanleg/config.h
@@ -1,11 +1,20 @@
-#ifndef USERSPACE_CONFIG_H
-#define USERSPACE_CONFIG_H
-
-#define PREVENT_STUCK_MODIFIERS
+#pragma once
//TAPPING_TERM
-#ifdef TAP_DANCE_ENABLE
-#define TAPPING_TERM 200
+//tapping term short (<100): on multi-purpose keys, slow taps may not register, but "holds" register easier. multi-tap keys may be difficult to activate.
+//tapping term long (>200): holds don't register as easily - noticeable when typing quickly (e.g. shift doesn't want to engage.)
+
+
+//MIGHT HAVE TO SPLIT THIS INTO TWO CONDITIONS
+#if defined(TAP_DANCE_ENABLE) && defined(KEYBOARD_lets_split_rev2) || defined(KEYBOARD_iris_rev2)
+//Kailh Coppers activate quickly and don't need a long tapping term
+#define TAPPING_TERM 100
+
+#elif defined(TAP_DANCE_ENABLE) && defined(KEYBOARD_bigswitch)
+#define TAPPING_TERM 700
+
+#else
+#define TAPPING_TERM 145
#endif
//Mousekey Settings
@@ -29,4 +38,7 @@
#define NO_ACTION_FUNCTION
#define NO_ACTION_ONESHOT
-#endif // !USERSPACE_CONFIG_H
+// Disable mod tap interrrupt
+#ifndef IGNORE_MOD_TAP_INTERRUPT
+#define IGNORE_MOD_TAP_INTERRUPT
+#endif // !mod tap interrrupt \ No newline at end of file