diff options
| author | Drashna Jaelre <drashna@live.com> | 2022-09-17 00:50:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-17 17:50:54 +1000 |
| commit | fb29c0ae53e32fb049516fcbe0f7863882ca9173 (patch) | |
| tree | 989feaa47190248726a462bf761a98f46d91f406 /quantum/quantum_keycodes.h | |
| parent | d67d388e776eeb8596181894639b6ed46c8a2d7d (diff) | |
[Core] Add getreuer's Autocorrect feature to core (#15699)
Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com>
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 { | |||
| 611 | 611 | ||
| 612 | UNICODE_MODE_EMACS, | 612 | UNICODE_MODE_EMACS, |
| 613 | 613 | ||
| 614 | AUTOCORRECT_ON, | ||
| 615 | AUTOCORRECT_OFF, | ||
| 616 | AUTOCORRECT_TOGGLE, | ||
| 617 | |||
| 614 | // Start of custom keycode range for keyboards and keymaps - always leave at the end | 618 | // Start of custom keycode range for keyboards and keymaps - always leave at the end |
| 615 | SAFE_RANGE | 619 | SAFE_RANGE |
| 616 | }; | 620 | }; |
| @@ -799,6 +803,10 @@ enum quantum_keycodes { | |||
| 799 | #define EH_LEFT MAGIC_EE_HANDS_LEFT | 803 | #define EH_LEFT MAGIC_EE_HANDS_LEFT |
| 800 | #define EH_RGHT MAGIC_EE_HANDS_RIGHT | 804 | #define EH_RGHT MAGIC_EE_HANDS_RIGHT |
| 801 | 805 | ||
| 806 | #define CRT_ON AUTOCORRECT_ON | ||
| 807 | #define CRT_OFF AUTOCORRECT_OFF | ||
| 808 | #define CRT_TOG AUTOCORRECT_TOGGLE | ||
| 809 | |||
| 802 | // GOTO layer - 256 layer max | 810 | // GOTO layer - 256 layer max |
| 803 | #define TO(layer) (QK_TO | ((layer)&0xFF)) | 811 | #define TO(layer) (QK_TO | ((layer)&0xFF)) |
| 804 | 812 | ||
