Fix Per Key LED Indicator Callbacks (#18450)
Co-authored-by: Dasky <32983009+daskygit@users.noreply.github.com> Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
parent
09d3e27710
commit
64b1ed4550
218 changed files with 1430 additions and 1271 deletions
|
@ -199,11 +199,12 @@ void set_layer_color(int layer) {
|
|||
}
|
||||
}
|
||||
}
|
||||
void rgb_matrix_indicators_user(void) {
|
||||
bool rgb_matrix_indicators_user(void) {
|
||||
if (g_suspend_state || disable_layer_color ||
|
||||
rgb_matrix_get_flags() == LED_FLAG_NONE ||
|
||||
rgb_matrix_get_flags() == LED_FLAG_UNDERGLOW) {
|
||||
return;
|
||||
}
|
||||
set_layer_color(get_highest_layer(layer_state));
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue