summaryrefslogtreecommitdiff
path: root/users/curry/process_records.h
diff options
context:
space:
mode:
authorAllen Choi <37539914+Thunderbird2086@users.noreply.github.com>2022-04-19 20:00:01 +0900
committerGitHub <noreply@github.com>2022-04-19 21:00:01 +1000
commit9ead40db0cde5568b4be4b199615cc284ed4e7a8 (patch)
treeed12bed724202816d5874d28592c3cf739b4c22d /users/curry/process_records.h
parent1acb37db7fc28684785ee57d68452d127790c1db (diff)
Fix broken build for users/curry (#16492)
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