summaryrefslogtreecommitdiff
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-10-25 03:30:37 +1100
committerGitHub <noreply@github.com>2022-10-24 17:30:37 +0100
commita80b886751aaddb0e030a14a82cf99b6778145b4 (patch)
tree2b1b25f5f970f40b0836a31f180ac08979cf62ce /quantum/quantum_keycodes.h
parent6bbe8b6eddc56d43f4db07c665bf1791ea2ab871 (diff)
Deprecate `CAPS_WORD`/`CAPSWRD` for `CW_TOGG` (#18834)
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index ac3968895b..2e2ba8cd81 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -603,7 +603,7 @@ enum quantum_keycodes {
SECURE_TOGGLE,
SECURE_REQUEST,
- CAPS_WORD,
+ QK_CAPS_WORD_TOGGLE,
MAGIC_SWAP_ESCAPE_CAPSLOCK,
MAGIC_UNSWAP_ESCAPE_CAPSLOCK,
@@ -846,6 +846,9 @@ enum quantum_keycodes {
// Leader key
#define QK_LEAD QK_LEADER
+// Caps Word
+#define CW_TOGG QK_CAPS_WORD_TOGGLE
+
// Swap Hands
#define SH_T(kc) (QK_SWAP_HANDS | (kc))
#define SH_TG (QK_SWAP_HANDS | OP_SH_TOGGLE)
@@ -952,6 +955,4 @@ enum quantum_keycodes {
#define QK_PROGRAMMABLE_BUTTON_MIN QK_PROGRAMMABLE_BUTTON_1
#define QK_PROGRAMMABLE_BUTTON_MAX QK_PROGRAMMABLE_BUTTON_32
-#define CAPSWRD CAPS_WORD
-
#include "quantum_keycodes_legacy.h"