adds per-layer rgb color option to ez

This commit is contained in:
Jack Humbert 2017-11-06 08:38:36 -05:00
parent 41df0dc9a7
commit cf9f6bbd91
4 changed files with 72 additions and 9 deletions

View file

@ -64,10 +64,15 @@ void default_layer_xor(uint32_t state)
uint32_t layer_state = 0;
__attribute__((weak))
uint32_t layer_state_set_kb(uint32_t state) {
uint32_t layer_state_set_user(uint32_t state) {
return state;
}
__attribute__((weak))
uint32_t layer_state_set_kb(uint32_t state) {
return layer_state_set_user(state);
}
static void layer_state_set(uint32_t state)
{
state = layer_state_set_kb(state);