Added HID layer state and keymap.

Closes #3
This commit is contained in:
2022-07-21 14:09:50 -07:00
parent 2d7b6544fc
commit c5003d5104
16 changed files with 141 additions and 9 deletions

View File

@ -2,6 +2,7 @@
#include "layers/layers.h"
#include "spellcheck.h"
#include "rawhid.h"
// Values that should not be saved to git.
// Create a `secrets.h` in the keymap directory.
@ -37,6 +38,14 @@ 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.