mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-10-31 05:12:33 +01:00 
			
		
		
		
	Enable RGB Matrix Sleep
This commit is contained in:
		
							parent
							
								
									ebfc39cc50
								
							
						
					
					
						commit
						356521864e
					
				| @ -272,6 +272,14 @@ uint16_t get_tapping_term(uint16_t keycode) { | ||||
| 
 | ||||
| #ifdef RGB_MATRIX_ENABLE | ||||
| 
 | ||||
| void suspend_power_down_keymap(void) { | ||||
|     rgb_matrix_set_suspend_state(true); | ||||
| } | ||||
| 
 | ||||
| void suspend_wakeup_init_keymap(void) { | ||||
|     rgb_matrix_set_suspend_state(false); | ||||
| } | ||||
| 
 | ||||
| void rgb_matrix_indicators_user(void) { | ||||
|     if ( userspace_config.rgb_layer_change && | ||||
| #ifdef RGB_DISABLE_WHEN_USB_SUSPENDED | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Drashna Jaelre
						Drashna Jaelre