forked from mirrors/qmk_userspace
adds per-layer rgb color option to ez
This commit is contained in:
parent
41df0dc9a7
commit
cf9f6bbd91
4 changed files with 72 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue