Change RGB_MATRIX_STARTUP_* defines to RGB_MATRIX_DEFAULT_* (#19079)
				
					
				
			This commit is contained in:
		
							parent
							
								
									ad7b095da6
								
							
						
					
					
						commit
						e12ca14af8
					
				
					 196 changed files with 373 additions and 377 deletions
				
			
		| 
						 | 
				
			
			@ -34,7 +34,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#define PERMISSIVE_HOLD
 | 
			
		||||
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
    #define RGB_MATRIX_STARTUP_HUE 231
 | 
			
		||||
    #define RGB_MATRIX_DEFAULT_HUE 231
 | 
			
		||||
    #define RGB_MATRIX_KEYPRESSES // reacts to keypresses
 | 
			
		||||
    #define RGB_MATRIX_TYPING_MEATMAP_DECREASE_DELAY_MS 50
 | 
			
		||||
    // #   define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -75,7 +75,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
// #   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)
 | 
			
		||||
#    define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
 | 
			
		||||
 | 
			
		||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT
 | 
			
		||||
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT
 | 
			
		||||
 | 
			
		||||
#    define RGB_MATRIX_HUE_STEP 8
 | 
			
		||||
#    define RGB_MATRIX_SAT_STEP 8
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -28,7 +28,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
 | 
			
		||||
// lower maximum brightness to lower power usage and prevent unresponsiveness
 | 
			
		||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 200
 | 
			
		||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT
 | 
			
		||||
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_GRADIENT_LEFT_RIGHT
 | 
			
		||||
 | 
			
		||||
// RGB Matrix Animation modes. Explicitly enabled
 | 
			
		||||
// For full list of effects, see:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -49,7 +49,7 @@
 | 
			
		|||
#    define RGB_MATRIX_SAT_STEP 64
 | 
			
		||||
#    define RGB_MATRIX_VAL_STEP 64
 | 
			
		||||
#    define RGB_MATRIX_SPD_STEP 20
 | 
			
		||||
#    define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
 | 
			
		||||
#    define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_COLOR
 | 
			
		||||
 | 
			
		||||
/* Disable the animations you don't want/need.  You will need to disable a good number of these    *
 | 
			
		||||
 * because they take up a lot of space.  Disable until you can successfully compile your firmware. */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -30,9 +30,9 @@
 | 
			
		|||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
 | 
			
		||||
#define RGB_DISABLE_TIMEOUT CUSTOM_OLED_TIMEOUT
 | 
			
		||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128
 | 
			
		||||
#define RGB_MATRIX_STARTUP_HUE 215
 | 
			
		||||
#define RGB_MATRIX_STARTUP_SAT 255
 | 
			
		||||
#define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
 | 
			
		||||
#define RGB_MATRIX_DEFAULT_HUE 215
 | 
			
		||||
#define RGB_MATRIX_DEFAULT_SAT 255
 | 
			
		||||
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
 | 
			
		||||
 | 
			
		||||
/* ---------------------------
 | 
			
		||||
 * Common other Configuration
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -54,10 +54,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
#    define ENABLE_RGB_MATRIX_SOLID_COLOR
 | 
			
		||||
#    define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE
 | 
			
		||||
// Default effect
 | 
			
		||||
#    define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
 | 
			
		||||
#    define RGB_MATRIX_STARTUP_HUE 10
 | 
			
		||||
#    define RGB_MATRIX_STARTUP_SAT 255
 | 
			
		||||
#    define RGB_MATRIX_STARTUP_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
 | 
			
		||||
#    define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_COLOR
 | 
			
		||||
#    define RGB_MATRIX_DEFAULT_HUE 10
 | 
			
		||||
#    define RGB_MATRIX_DEFAULT_SAT 255
 | 
			
		||||
#    define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// https://github.com/qmk/qmk_firmware/blob/develop/docs/squeezing_avr.md
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -52,7 +52,7 @@
 | 
			
		|||
#    define RGB_MATRIX_SAT_STEP 64
 | 
			
		||||
#    define RGB_MATRIX_VAL_STEP 64
 | 
			
		||||
#    define RGB_MATRIX_SPD_STEP 20
 | 
			
		||||
#    define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
 | 
			
		||||
#    define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_SOLID_COLOR
 | 
			
		||||
 | 
			
		||||
/* Disable the animations you don't want/need.  You will need to disable a good number of these    *
 | 
			
		||||
 * because they take up a lot of space.  Disable until you can successfully compile your firmware. */
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue