summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredric Silberberg <frsilb@microsoft.com>2017-12-08 16:58:10 -0800
committerJack Humbert <jack.humb@gmail.com>2017-12-09 00:06:08 -0500
commitb781cbf7e2e60a7df2a3c2f39dcc19021c157300 (patch)
treefd3b4c4df44d768af4e58ac6bca36ea9f189117c
parenta14518bf57b5a44dbf0ff36d4b06df1a5022e59c (diff)
Turn on prevent stuck modifiers for my keymaps.
-rw-r--r--keyboards/nyquist/keymaps/333fred/config.h3
-rw-r--r--layouts/community/ergodox/333fred/config.h2
-rw-r--r--users/333fred/333fred_config.h7
3 files changed, 9 insertions, 3 deletions
diff --git a/keyboards/nyquist/keymaps/333fred/config.h b/keyboards/nyquist/keymaps/333fred/config.h
index 86fe521654..6335ce9b09 100644
--- a/keyboards/nyquist/keymaps/333fred/config.h
+++ b/keyboards/nyquist/keymaps/333fred/config.h
@@ -2,6 +2,7 @@
#define CONFIG_USER_H
#include "../../config.h"
+#include "333fred_config.h"
#define USE_SERIAL
#define MASTER_LEFT
@@ -9,6 +10,4 @@
#undef TAPPING_TERM
#define TAPPING_TERM 150
-#define PERMISSIVE_HOLD
-
#endif
diff --git a/layouts/community/ergodox/333fred/config.h b/layouts/community/ergodox/333fred/config.h
index 5e1d2cb395..d886bf8217 100644
--- a/layouts/community/ergodox/333fred/config.h
+++ b/layouts/community/ergodox/333fred/config.h
@@ -2,10 +2,10 @@
#define CONFIG_H_
#include QMK_KEYBOARD_CONFIG_H
+#include "333fred_config.h"
#undef TAPPING_TERM
#define TAPPING_TERM 200
-#define PERMISSIVE_HOLD
#endif
diff --git a/users/333fred/333fred_config.h b/users/333fred/333fred_config.h
new file mode 100644
index 0000000000..f796abc095
--- /dev/null
+++ b/users/333fred/333fred_config.h
@@ -0,0 +1,7 @@
+#ifndef FRED333_CONFIG
+#define FRED333_CONFIG
+
+#define PREVENT_STUCK_MODIFIERS
+#define PERMISSIVE_HOLD
+
+#endif