underglow-layer: enable only if config exists in devicetree
This commit is contained in:
parent
0ca086a845
commit
da994be0ba
5 changed files with 55 additions and 16 deletions
|
|
@ -7,7 +7,6 @@
|
|||
#pragma once
|
||||
#include <zmk/keymap.h>
|
||||
|
||||
|
||||
#define ZMK_RGB_CHILD_LEN_PLUS_ONE(node) 1 +
|
||||
|
||||
#define ZMK_RGBMAP_LAYERS_LEN \
|
||||
|
|
@ -15,4 +14,5 @@
|
|||
|
||||
const int zmk_rgbmap_id(uint8_t layer);
|
||||
uint32_t *rgb_underglow_get_bindings(uint8_t layer);
|
||||
uint8_t rgb_underglow_top_layer_with_state(uint32_t state_to_test);
|
||||
uint8_t rgb_underglow_top_layer_with_state(uint32_t state_to_test);
|
||||
uint8_t rgb_underglow_top_layer(void);
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
#pragma once
|
||||
|
||||
void set_peripheral_layers_state(uint32_t new_layers);
|
||||
bool peripheral_layer_active(uint8_t layer);
|
||||
bool peripheral_layer_active(uint8_t layer);
|
||||
uint8_t peripheral_highest_layer_active(void);
|
||||
Loading…
Add table
Add a link
Reference in a new issue