summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-03-06 19:50:01 +1100
committerGitHub <noreply@github.com>2021-03-06 19:50:01 +1100
commit9c94de070a651c477ed8d65228af4255a35ea6aa (patch)
treee98ad2d3f73c55b4e9cc3577ebcf6be2d16e3fe8
parent23d6ca99427de0fa8dabb0c4d70a7d1ebc4c9fdf (diff)
Remove ifdefs for UC and X/XP too (#12131)
-rw-r--r--quantum/quantum_keycodes.h14
1 files changed, 5 insertions, 9 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 22a16e9a2d..1863a79434 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -838,15 +838,11 @@ enum quantum_keycodes {
#define KC_HYPR HYPR(KC_NO)
#define KC_MEH MEH(KC_NO)
-#ifdef UNICODE_ENABLE
-// Allows Unicode input up to 0x7FFF
-# define UC(c) (QK_UNICODE | (c))
-#endif
-#ifdef UNICODEMAP_ENABLE
-// Allows Unicode input up to 0x10FFFF, requires unicode_map
-# define X(i) (QK_UNICODEMAP | (i))
-# define XP(i, j) (QK_UNICODEMAP_PAIR | ((i)&0x7F) | (((j)&0x7F) << 7)) // 127 max i and j
-#endif
+// UNICODE_ENABLE - Allows Unicode input up to 0x7FFF
+#define UC(c) (QK_UNICODE | (c))
+// UNICODEMAP_ENABLE - Allows Unicode input up to 0x10FFFF, requires unicode_map
+#define X(i) (QK_UNICODEMAP | (i))
+#define XP(i, j) (QK_UNICODEMAP_PAIR | ((i)&0x7F) | (((j)&0x7F) << 7)) // 127 max i and j
#define UC_MOD UNICODE_MODE_FORWARD
#define UC_RMOD UNICODE_MODE_REVERSE