summaryrefslogtreecommitdiff
path: root/users/curry/process_records.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/curry/process_records.h')
-rw-r--r--users/curry/process_records.h21
1 files changed, 18 insertions, 3 deletions
diff --git a/users/curry/process_records.h b/users/curry/process_records.h
index 0aa873648b..605abdfae2 100644
--- a/users/curry/process_records.h
+++ b/users/curry/process_records.h
@@ -43,9 +43,24 @@ bool process_record_keymap(uint16_t keycode, keyrecord_t *record);
#define KC_SEC5 KC_SECRET_5
#define QWERTY KC_QWERTY
-#define DVORAK KC_DVORAK
-#define COLEMAK KC_COLEMAK
-#define WORKMAN KC_WORKMAN
+#define DVORAK KC_NO
+#define COLEMAK KC_NO
+#define WORKMAN KC_NO
+
+#if defined(ENABLE_DVORAK)
+# undef DVORAK
+# define DVORAK KC_DVORAK
+#endif
+
+#if defined(ENABLE_COLEMAK)
+# undef COLEMAK
+# define COLEMAK KC_COLEMAK
+#endif
+
+#if defined(ENABLE_WORKMAN)
+# undef WORKMAN
+# define WORKMAN KC_WORKMAN
+#endif
#define KC_RST RESET