diff options
Diffstat (limited to 'quantum/process_keycode/process_autocorrect.h')
| -rw-r--r-- | quantum/process_keycode/process_autocorrect.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/quantum/process_keycode/process_autocorrect.h b/quantum/process_keycode/process_autocorrect.h index 00dacbf958..9cc7d46a8b 100644 --- a/quantum/process_keycode/process_autocorrect.h +++ b/quantum/process_keycode/process_autocorrect.h | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | // Copyright 2021 Google LLC | 1 | // Copyright 2021 Google LLC |
| 2 | // Copyright 2021 @filterpaper | 2 | // Copyright 2021 @filterpaper |
| 3 | // Copyright 2023 Pablo Martinez (@elpekenin) <elpekenin@elpekenin.dev> | ||
| 3 | // SPDX-License-Identifier: Apache-2.0 | 4 | // SPDX-License-Identifier: Apache-2.0 |
| 4 | // Original source: https://getreuer.info/posts/keyboards/autocorrection | 5 | // Original source: https://getreuer.info/posts/keyboards/autocorrection |
| 5 | 6 | ||
| @@ -10,7 +11,7 @@ | |||
| 10 | bool process_autocorrect(uint16_t keycode, keyrecord_t *record); | 11 | bool process_autocorrect(uint16_t keycode, keyrecord_t *record); |
| 11 | bool process_autocorrect_user(uint16_t *keycode, keyrecord_t *record, uint8_t *typo_buffer_size, uint8_t *mods); | 12 | bool process_autocorrect_user(uint16_t *keycode, keyrecord_t *record, uint8_t *typo_buffer_size, uint8_t *mods); |
| 12 | bool process_autocorrect_default_handler(uint16_t *keycode, keyrecord_t *record, uint8_t *typo_buffer_size, uint8_t *mods); | 13 | bool process_autocorrect_default_handler(uint16_t *keycode, keyrecord_t *record, uint8_t *typo_buffer_size, uint8_t *mods); |
| 13 | bool apply_autocorrect(uint8_t backspaces, const char *str); | 14 | bool apply_autocorrect(uint8_t backspaces, const char *str, char *typo, char *correct); |
| 14 | 15 | ||
| 15 | bool autocorrect_is_enabled(void); | 16 | bool autocorrect_is_enabled(void); |
| 16 | void autocorrect_enable(void); | 17 | void autocorrect_enable(void); |
