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
				
			
		| 
						 | 
				
			
			@ -99,7 +99,7 @@ void set_layer_color(int layer) {
 | 
			
		|||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void rgb_matrix_indicators_user(void) {
 | 
			
		||||
bool rgb_matrix_indicators_user(void) {
 | 
			
		||||
  if (g_suspend_state || keyboard_config.disable_layer_led) { return; }
 | 
			
		||||
  switch (get_highest_layer(layer_state)) {
 | 
			
		||||
    case 0:
 | 
			
		||||
| 
						 | 
				
			
			@ -119,6 +119,7 @@ void rgb_matrix_indicators_user(void) {
 | 
			
		|||
      rgb_matrix_set_color_all(0, 0, 0);
 | 
			
		||||
    break;
 | 
			
		||||
  }
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue