void matrix_scan_indicator(void) { current_mod = get_mods(); current_led = host_keyboard_leds(); current_osm = get_oneshot_mods(); set_rgb_indicators(current_mod, current_led, current_osm); last_mod = current_mod; last_led = current_led; last_osm = current_osm; }
void matrix_scan_indicator(void) { if (has_initialized) { set_rgb_indicators(get_mods(), host_keyboard_leds(), get_oneshot_mods()); } }