1
0
Fork 0

[Core] Add getreuer's Autocorrect feature to core (#15699)

Co-authored-by: Albert Y <76888457+filterpaper@users.noreply.github.com>
This commit is contained in:
Drashna Jael're 2022-09-17 00:50:54 -07:00 committed by GitHub
parent d67d388e77
commit fb29c0ae53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 1213 additions and 2 deletions

View file

@ -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))