Allow for modification of output RGB values when using rgblight/rgb_matrix. (#10638)
This commit is contained in:
		
							parent
							
								
									daea43debf
								
							
						
					
					
						commit
						de4cbe34ff
					
				
					 16 changed files with 20 additions and 16 deletions
				
			
		|  | @ -15,7 +15,7 @@ static void raindrops_set_color(int i, effect_params_t* params) { | |||
|     } | ||||
| 
 | ||||
|     hsv.h   = rgb_matrix_config.hsv.h + (deltaH * (rand() & 0x03)); | ||||
|     RGB rgb = hsv_to_rgb(hsv); | ||||
|     RGB rgb = rgb_matrix_hsv_to_rgb(hsv); | ||||
|     rgb_matrix_set_color(i, rgb.r, rgb.g, rgb.b); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Nick Brassel
						Nick Brassel