From b781cbf7e2e60a7df2a3c2f39dcc19021c157300 Mon Sep 17 00:00:00 2001 From: Fredric Silberberg Date: Fri, 8 Dec 2017 16:58:10 -0800 Subject: [PATCH] Turn on prevent stuck modifiers for my keymaps. --- keyboards/nyquist/keymaps/333fred/config.h | 3 +-- layouts/community/ergodox/333fred/config.h | 2 +- users/333fred/333fred_config.h | 7 +++++++ 3 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 users/333fred/333fred_config.h diff --git a/keyboards/nyquist/keymaps/333fred/config.h b/keyboards/nyquist/keymaps/333fred/config.h index 86fe5216542..6335ce9b090 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 5e1d2cb3954..d886bf8217a 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 00000000000..f796abc0958 --- /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