mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-04 07:12:33 +01:00 
			
		
		
		
	Deploying to gh-pages from master @ 45f88af4a12938072f58d89769145c46a30fb38c 🚀
This commit is contained in:
		
							parent
							
								
									f07630e378
								
							
						
					
					
						commit
						fb6b85afad
					
				@ -214,11 +214,11 @@ This is controlled by two functions: `suspend_power_down_*` and `suspend_wakeup_
 | 
			
		||||
 | 
			
		||||
```c
 | 
			
		||||
void suspend_power_down_user(void) {
 | 
			
		||||
    rgb_matrix_set_suspend_state(true);
 | 
			
		||||
    // code will run multiple times while keyboard is suspended
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void suspend_wakeup_init_user(void) {
 | 
			
		||||
    rgb_matrix_set_suspend_state(false);
 | 
			
		||||
    // code will run on keyboard wakeup
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -211,11 +211,11 @@ void keyboard_post_init_user(void) {
 | 
			
		||||
 | 
			
		||||
```c
 | 
			
		||||
void suspend_power_down_user(void) {
 | 
			
		||||
    rgb_matrix_set_suspend_state(true);
 | 
			
		||||
    // code will run multiple times while keyboard is suspended
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void suspend_wakeup_init_user(void) {
 | 
			
		||||
    rgb_matrix_set_suspend_state(false);
 | 
			
		||||
    // code will run on keyboard wakeup
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -275,11 +275,11 @@ void keyboard_post_init_user(void) {
 | 
			
		||||
 | 
			
		||||
```c
 | 
			
		||||
void suspend_power_down_user(void) {
 | 
			
		||||
    rgb_matrix_set_suspend_state(true);
 | 
			
		||||
    // code will run multiple times while keyboard is suspended
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void suspend_wakeup_init_user(void) {
 | 
			
		||||
    rgb_matrix_set_suspend_state(false);
 | 
			
		||||
    // code will run on keyboard wakeup
 | 
			
		||||
}
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user