forked from mirrors/qmk_userspace
[Enhancement] More info on apply_autocorrect
(#21056)
Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
parent
21263438e5
commit
55295ed3dc
4 changed files with 64 additions and 9 deletions
|
@ -1,5 +1,6 @@
|
|||
// Copyright 2021 Google LLC
|
||||
// Copyright 2021 @filterpaper
|
||||
// Copyright 2023 Pablo Martinez (@elpekenin) <elpekenin@elpekenin.dev>
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
// Original source: https://getreuer.info/posts/keyboards/autocorrection
|
||||
|
||||
|
@ -10,7 +11,7 @@
|
|||
bool process_autocorrect(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 process_autocorrect_default_handler(uint16_t *keycode, keyrecord_t *record, uint8_t *typo_buffer_size, uint8_t *mods);
|
||||
bool apply_autocorrect(uint8_t backspaces, const char *str);
|
||||
bool apply_autocorrect(uint8_t backspaces, const char *str, char *typo, char *correct);
|
||||
|
||||
bool autocorrect_is_enabled(void);
|
||||
void autocorrect_enable(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue