aboutsummaryrefslogtreecommitdiff
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorDrashna Jaelre <[email protected]>2022-09-17 00:50:54 -0700
committerGitHub <[email protected]>2022-09-17 17:50:54 +1000
commitfb29c0ae53e32fb049516fcbe0f7863882ca9173 (patch)
tree989feaa47190248726a462bf761a98f46d91f406 /quantum/quantum_keycodes.h
parentd67d388e776eeb8596181894639b6ed46c8a2d7d (diff)
downloadqmk_firmware-fb29c0ae53e32fb049516fcbe0f7863882ca9173.tar.gz
qmk_firmware-fb29c0ae53e32fb049516fcbe0f7863882ca9173.zip
[Core] Add getreuer's Autocorrect feature to core (#15699)
Co-authored-by: Albert Y <[email protected]>
Diffstat (limited to 'quantum/quantum_keycodes.h')
-rw-r--r--quantum/quantum_keycodes.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index c8f03fa1ce..abf3f1a384 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -611,6 +611,10 @@ enum quantum_keycodes {
UNICODE_MODE_EMACS,
+ AUTOCORRECT_ON,
+ AUTOCORRECT_OFF,
+ AUTOCORRECT_TOGGLE,
+
// Start of custom keycode range for keyboards and keymaps - always leave at the end
SAFE_RANGE
};
@@ -799,6 +803,10 @@ enum quantum_keycodes {
#define EH_LEFT MAGIC_EE_HANDS_LEFT
#define EH_RGHT MAGIC_EE_HANDS_RIGHT
+#define CRT_ON AUTOCORRECT_ON
+#define CRT_OFF AUTOCORRECT_OFF
+#define CRT_TOG AUTOCORRECT_TOGGLE
+
// GOTO layer - 256 layer max
#define TO(layer) (QK_TO | ((layer)&0xFF))