Added basic spellcheck code
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user