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
				
			
		| 
						 | 
				
			
			@ -19,7 +19,7 @@
 | 
			
		|||
static bool wpm_rgb_enabled = false;
 | 
			
		||||
static uint8_t rgb_mode;
 | 
			
		||||
 | 
			
		||||
void rgb_matrix_indicators_keymap(void) {
 | 
			
		||||
bool rgb_matrix_indicators_keymap(void) {
 | 
			
		||||
    if (wpm_rgb_enabled && rgb_matrix_is_enabled()) {
 | 
			
		||||
        uint8_t wpm = get_current_wpm();
 | 
			
		||||
        dprintf("WPM = %d\n", wpm);
 | 
			
		||||
| 
						 | 
				
			
			@ -28,6 +28,7 @@ void rgb_matrix_indicators_keymap(void) {
 | 
			
		|||
        RGB rgb = hsv_to_rgb(hsv);
 | 
			
		||||
        rgb_matrix_set_color_all(rgb.r, rgb.g, rgb.b);
 | 
			
		||||
    }
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool process_record_fun(uint16_t keycode, keyrecord_t *record) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue