Added basic spellcheck code

This commit is contained in:
2022-07-20 21:19:13 -07:00
parent 12e65bf02b
commit 7a2ac34a23
6 changed files with 172 additions and 4 deletions

View File

@ -1,6 +1,8 @@
#include "keymap.h"
#include "layers/layers.h"
#include "spellcheck.h"
// Values that should not be saved to git.
// Create a `secrets.h` in the keymap directory.
//
@ -31,9 +33,6 @@ void matrix_scan_user(void) {
// unregister_code(KC_S);
// unregister_code(KC_LGUI);
//}
}
}
@ -42,6 +41,7 @@ void matrix_scan_user(void) {
// Return FALSE to halt key processing,
// Return TRUE to allow QMK to handle keypress.
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
if (!process_spellcheck(keycode, record)) { return false; }
// Handle macros
switch (keycode) {