Minor cleanup

This commit is contained in:
2022-07-21 17:49:35 -07:00
parent 4cb3fe0ee9
commit e6cc6bfa10
11 changed files with 141 additions and 114 deletions

View File

@ -1,7 +1,10 @@
#include "keymap.h"
#include "layers/layers.h"
#ifdef BETA_ENABLE_SPELLCHECK
#include "features/spellcheck.h"
#endif
#include "features/beta_rawhid.h"
// Values that should not be saved to git.
@ -37,20 +40,13 @@ void matrix_scan_user(void) {
}
}
uint32_t layer_state_set_user(uint32_t state) {
set_layer_colors(state);
//uint8_t layer = biton32(state);
return state;
};
// Return FALSE to halt key processing,
// Return TRUE to allow QMK to handle keypress.
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
#ifdef BETA_ENABLE_SPELLCHECK
if (!process_spellcheck(keycode, record)) { return false; }
#endif
// Handle macros
switch (keycode) {