summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--keyboards/atreus/config.h3
-rw-r--r--keyboards/atreus/keymaps/replicaJunction/keymap.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/atreus/config.h b/keyboards/atreus/config.h
index 624d90188c..36624a4a13 100644
--- a/keyboards/atreus/config.h
+++ b/keyboards/atreus/config.h
@@ -67,6 +67,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
)
+/* Prevent modifiers from sticking when switching layers */
+#define PREVENT_STUCK_MODIFIERS
+
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/atreus/keymaps/replicaJunction/keymap.c b/keyboards/atreus/keymaps/replicaJunction/keymap.c
index 0470a4fa19..4e88f3bd13 100644
--- a/keyboards/atreus/keymaps/replicaJunction/keymap.c
+++ b/keyboards/atreus/keymaps/replicaJunction/keymap.c
@@ -42,9 +42,6 @@
#define KX_PAST LCTL(KC_V)
#define KX_UNDO LCTL(KC_Z)
-// Uses 5 bytes of memory per 8 keys, but makes sure modifiers don't get "stuck" switching layers
-#define PREVENT_STUCK_MODIFIERS
-
; // This doesn't do anything. It's just for VSCode because its syntax highlighting is weird for the above #define statements.
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {