Added printk for layer changes
This commit is contained in:
parent
2a5e914a77
commit
604d14d66d
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ static inline int set_layer_state(uint8_t layer, bool state) {
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (state) {
|
||||
printk("GUIDO: layer %d\n", layer);
|
||||
}
|
||||
|
||||
// Default layer should *always* remain active
|
||||
if (layer == _zmk_keymap_layer_default && !state) {
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue