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
|
@ -253,7 +253,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
|
|||
}
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
void rgb_matrix_indicators_user() {
|
||||
bool rgb_matrix_indicators_user(void) {
|
||||
if (effect_started_time > 0) {
|
||||
/* Render blinking EFFECTS */
|
||||
const uint16_t deltaTime = sync_timer_elapsed(effect_started_time);
|
||||
|
@ -289,6 +289,7 @@ void rgb_matrix_indicators_user() {
|
|||
if (host_keyboard_led_state().caps_lock) {
|
||||
set_rgb_caps_leds();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
static void start_effects() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue