summaryrefslogtreecommitdiffstats
path: root/quantum/process_keycode
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/process_keycode
parent6bbe8b6eddc56d43f4db07c665bf1791ea2ab871 (diff)
Deprecate `CAPS_WORD`/`CAPSWRD` for `CW_TOGG` (#18834)
Diffstat (limited to 'quantum/process_keycode')
-rw-r--r--quantum/process_keycode/process_caps_word.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_caps_word.c b/quantum/process_keycode/process_caps_word.c
index 1b9583196d..7a83f7bf49 100644
--- a/quantum/process_keycode/process_caps_word.c
+++ b/quantum/process_keycode/process_caps_word.c
@@ -15,7 +15,7 @@
#include "process_caps_word.h"
bool process_caps_word(uint16_t keycode, keyrecord_t* record) {
- if (keycode == CAPSWRD) { // Pressing CAPSWRD toggles Caps Word.
+ if (keycode == QK_CAPS_WORD_TOGGLE) {
if (record->event.pressed) {
caps_word_toggle();
}