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

Co-authored-by: Albert Y <[email protected]>
This commit is contained in:
Drashna JaelreandAlbert Y authored and GitHub committed 2022-09-17 17:50:54 +10:00
1 parent d67d388e77
commit fb29c0ae53
17 files changed
+1213 -2

No files matched your search

+8
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))