Cleanup
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
|
||||
|
||||
// Enable spellcheck over HID
|
||||
#define BETA_ENABLE_SPELLCHECK
|
||||
#define ENABLE_HID_SPELLCHECK
|
||||
|
||||
// RGBLight effects
|
||||
// Static color is always enabled.
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user