Change {LED,RGB}_DISABLE_TIMEOUT to {LED,RGB}_MATRIX_TIMEOUT (#18415)
				
					
				
			This commit is contained in:
		
							parent
							
								
									9509dfbe39
								
							
						
					
					
						commit
						ea2819b2c2
					
				
					 138 changed files with 64 additions and 181 deletions
				
			
		| 
						 | 
				
			
			@ -364,8 +364,7 @@ For inspiration and examples, check out the built-in effects under `quantum/led_
 | 
			
		|||
#define LED_MATRIX_KEYPRESSES // reacts to keypresses
 | 
			
		||||
#define LED_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
 | 
			
		||||
#define LED_MATRIX_FRAMEBUFFER_EFFECTS // enable framebuffer effects
 | 
			
		||||
#define LED_DISABLE_TIMEOUT 0 // number of milliseconds to wait until led automatically turns off
 | 
			
		||||
#define LED_DISABLE_AFTER_TIMEOUT 0 // OBSOLETE: number of ticks to wait until disabling effects
 | 
			
		||||
#define LED_MATRIX_TIMEOUT 0 // number of milliseconds to wait until led automatically turns off
 | 
			
		||||
#define LED_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
 | 
			
		||||
#define LED_MATRIX_LED_PROCESS_LIMIT (LED_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
 | 
			
		||||
#define LED_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -791,8 +791,7 @@ These are defined in [`color.h`](https://github.com/qmk/qmk_firmware/blob/master
 | 
			
		|||
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
 | 
			
		||||
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
 | 
			
		||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS // enable framebuffer effects
 | 
			
		||||
#define RGB_DISABLE_TIMEOUT 0 // number of milliseconds to wait until rgb automatically turns off
 | 
			
		||||
#define RGB_DISABLE_AFTER_TIMEOUT 0 // OBSOLETE: number of ticks to wait until disabling effects
 | 
			
		||||
#define RGB_MATRIX_TIMEOUT 0 // number of milliseconds to wait until rgb automatically turns off
 | 
			
		||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
 | 
			
		||||
#define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
 | 
			
		||||
#define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue