Minor cleanup
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user