diff options
author | Drashna Jaelre <[email protected]> | 2022-09-17 00:50:54 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-09-17 17:50:54 +1000 |
commit | fb29c0ae53e32fb049516fcbe0f7863882ca9173 (patch) | |
tree | 989feaa47190248726a462bf761a98f46d91f406 /quantum/quantum_keycodes.h | |
parent | d67d388e776eeb8596181894639b6ed46c8a2d7d (diff) | |
download | qmk_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.h | 8 |
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)) |