This commit is contained in:
2022-11-20 20:45:13 -08:00
parent d795d84f41
commit afa07ce83c
8 changed files with 15 additions and 14 deletions

View File

@ -8,7 +8,7 @@
// Enable spellcheck over HID
#define BETA_ENABLE_SPELLCHECK
#define ENABLE_HID_SPELLCHECK
// RGBLight effects
// Static color is always enabled.

View File

@ -1,8 +1,8 @@
#include "keymap.h"
#include "layers/layers.h"
#ifdef BETA_ENABLE_SPELLCHECK
#include "features/spellcheck.h"
#ifdef ENABLE_HID_SPELLCHECK
#include "features/hid_spellcheck.h"
#endif
#include "features/beta_rawhid.h"
@ -63,7 +63,7 @@ void matrix_scan_user(void) {
// Return TRUE to allow QMK to handle keypress.
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#ifdef BETA_ENABLE_SPELLCHECK
#ifdef ENABLE_HID_SPELLCHECK
if (!process_spellcheck(keycode, record)) { return false; }
#endif