diff options
author | Drashna Jaelre <drashna@live.com> | 2022-05-30 22:02:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-30 22:02:55 -0700 |
commit | cda343acbe45826225edac75eaa63216bf76d874 (patch) | |
tree | 398a14c907baa8e6521fc9d001a4619289e1d7a3 /users/drashna/keyrecords/autocorrection/autocorrection.h | |
parent | b554e4b612d24109ce714554a306043a01382cbd (diff) |
[Keymap] Drashna update for post Q2 merge (#17241)
Diffstat (limited to 'users/drashna/keyrecords/autocorrection/autocorrection.h')
-rw-r--r-- | users/drashna/keyrecords/autocorrection/autocorrection.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/users/drashna/keyrecords/autocorrection/autocorrection.h b/users/drashna/keyrecords/autocorrection/autocorrection.h index cea93159ae..8946b91f1f 100644 --- a/users/drashna/keyrecords/autocorrection/autocorrection.h +++ b/users/drashna/keyrecords/autocorrection/autocorrection.h @@ -7,4 +7,11 @@ #include "drashna.h" -bool process_autocorrection(uint16_t keycode, keyrecord_t* record); +bool process_autocorrection(uint16_t keycode, keyrecord_t *record); +bool process_autocorrect_user(uint16_t *keycode, keyrecord_t *record, uint8_t *typo_buffer_size, uint8_t *mods); +bool apply_autocorrect(uint8_t backspaces, const char *str); + +bool autocorrect_is_enabled(void); +void autocorrect_enable(void); +void autocorrect_disable(void); +void autocorrect_toggle(void); |