summaryrefslogtreecommitdiffstats
path: root/keyboards/atreus
diff options
context:
space:
mode:
authorJoshua T <joshua@sonofone.net>2016-07-30 09:19:17 -0500
committerJoshua T <joshua@sonofone.net>2016-07-30 09:19:17 -0500
commitcf795a6f93a541c2ff5d64daa0aefd1f97d62035 (patch)
tree8c2d9ba3c61636126d1edb60ef389541d8d6ba20 /keyboards/atreus
parent0064f1f84cf8470beb32557145dc5d1b9c977fc8 (diff)
Moved PREVENT_STUCK_MODIFIERS to config.h
Diffstat (limited to 'keyboards/atreus')
-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] = {