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:
@@ -93,11 +93,11 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
};
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
void rgb_matrix_indicators_user(void)
|
||||
{
|
||||
bool rgb_matrix_indicators_user(void) {
|
||||
rgb_matrix_set_color(25, 0, 0, 0);
|
||||
rgb_matrix_set_color(36, 0, 0, 0);
|
||||
rgb_matrix_set_color(42, 0, 0, 0);
|
||||
return false;
|
||||
}
|
||||
|
||||
void keyboard_pre_init_user(void) {
|
||||
|
@@ -93,12 +93,13 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
};
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
void rgb_matrix_indicators_user(void)
|
||||
bool rgb_matrix_indicators_user(void)
|
||||
{
|
||||
rgb_matrix_set_color(25, 0, 0, 0);
|
||||
rgb_matrix_set_color(30, 0, 0, 0);
|
||||
rgb_matrix_set_color(35, 0, 0, 0);
|
||||
rgb_matrix_set_color(42, 0, 0, 0);
|
||||
return false;
|
||||
}
|
||||
|
||||
void keyboard_pre_init_user(void) {
|
||||
|
@@ -93,12 +93,12 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
};
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
void rgb_matrix_indicators_user(void)
|
||||
{
|
||||
bool rgb_matrix_indicators_user(void) {
|
||||
rgb_matrix_set_color(24, 0, 0, 0);
|
||||
rgb_matrix_set_color(30, 0, 0, 0);
|
||||
rgb_matrix_set_color(35, 0, 0, 0);
|
||||
rgb_matrix_set_color(36, 0, 0, 0);
|
||||
rgb_matrix_set_color(41, 0, 0, 0);
|
||||
return false;
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user