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
				
			
		| 
						 | 
				
			
			@ -119,7 +119,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		|||
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
    // Capslock, Scroll lock and Numlock  indicator on Left side lights.
 | 
			
		||||
    void rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
 | 
			
		||||
    bool rgb_matrix_indicators_advanced_user(uint8_t led_min, uint8_t led_max) {
 | 
			
		||||
        if (get_rgb_nightmode()) rgb_matrix_set_color_all(RGB_OFF);
 | 
			
		||||
        if (IS_HOST_LED_ON(USB_LED_SCROLL_LOCK)) {
 | 
			
		||||
            rgb_matrix_set_color(LED_L1, RGB_GREEN);
 | 
			
		||||
| 
						 | 
				
			
			@ -188,14 +188,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		|||
        default:
 | 
			
		||||
            break;
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void suspend_power_down_user(void) {
 | 
			
		||||
        rgb_matrix_set_suspend_state(true);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    void suspend_wakeup_init_user(void) {
 | 
			
		||||
        rgb_matrix_set_suspend_state(false);
 | 
			
		||||
    return false;
 | 
			
		||||
    }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue