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
				
			
		| 
						 | 
				
			
			@ -164,7 +164,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		|||
    return true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void rgb_matrix_indicators_user(void) {
 | 
			
		||||
bool rgb_matrix_indicators_user(void) {
 | 
			
		||||
    HSV      hsv = rgb_matrix_config.hsv;
 | 
			
		||||
    uint8_t time = scale16by8(g_rgb_timer, qadd8(32, 1));
 | 
			
		||||
    hsv.h        = time;
 | 
			
		||||
| 
						 | 
				
			
			@ -181,4 +181,5 @@ void rgb_matrix_indicators_user(void) {
 | 
			
		|||
            rgb_matrix_set_color(28, 0, 0, 0);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -164,7 +164,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		|||
    return true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void rgb_matrix_indicators_user(void) {
 | 
			
		||||
bool rgb_matrix_indicators_user(void) {
 | 
			
		||||
    HSV      hsv = rgb_matrix_config.hsv;
 | 
			
		||||
    uint8_t time = scale16by8(g_rgb_timer, qadd8(32, 1));
 | 
			
		||||
    hsv.h        = time;
 | 
			
		||||
| 
						 | 
				
			
			@ -181,4 +181,5 @@ void rgb_matrix_indicators_user(void) {
 | 
			
		|||
            rgb_matrix_set_color(28, 0, 0, 0);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue