summaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-22 00:25:54 +1100
committerGitHub <noreply@github.com>2022-10-21 14:25:54 +0100
commitb33fc349671148bff6f0a60172b53c51e59cda49 (patch)
tree18e3aafa86d75a242a7f8ccd53f2fc95824f9dfc /quantum/quantum_keycodes.h
parent374d5d74804e0a99d93c3685f63f9f709b6ded22 (diff)
Deprecate `KC_LEAD` for `QK_LEAD` (#18792)
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 939fab9298..f9268c833d 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -465,7 +465,7 @@ enum quantum_keycodes {
JS_BUTTON31, // 5D28
// Leader Key
- KC_LEAD, // 5D29
+ QK_LEADER, // 5D29
// Bluetooth: output selection (continued)
OUT_BT, // 5D2A
@@ -846,6 +846,9 @@ enum quantum_keycodes {
#define UC_M_WC UNICODE_MODE_WINC
#define UC_M_EM UNICODE_MODE_EMACS
+// Leader key
+#define QK_LEAD QK_LEADER
+
// Swap Hands
#define SH_T(kc) (QK_SWAP_HANDS | (kc))
#define SH_TG (QK_SWAP_HANDS | OP_SH_TOGGLE)