]> git.donarmstrong.com Git - qmk_firmware.git/commitdiff
Moved PREVENT_STUCK_MODIFIERS to config.h
authorJoshua T <joshua@sonofone.net>
Sat, 30 Jul 2016 14:19:17 +0000 (09:19 -0500)
committerJoshua T <joshua@sonofone.net>
Sat, 30 Jul 2016 14:19:17 +0000 (09:19 -0500)
keyboards/atreus/config.h
keyboards/atreus/keymaps/replicaJunction/keymap.c

index 624d90188cbcda0750b11f0fba220949b62cae4c..36624a4a13754e32f95aa0f4def12c328b56dc8b 100644 (file)
@@ -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.
index 0470a4fa196cd083d5816b844d15a233acd5f0f1..4e88f3bd13c81e6fa6e211bcbfa7f7df18c88fcf 100644 (file)
@@ -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] = {