Migrate RGB Matrix config to info.json (#22998)
This commit is contained in:
		
							parent
							
								
									c8c55e3220
								
							
						
					
					
						commit
						974e98ce59
					
				
					 173 changed files with 429 additions and 1408 deletions
				
			
		| 
						 | 
				
			
			@ -16,10 +16,5 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define DRIVER_1_LED_TOTAL 45
 | 
			
		||||
#define DRIVER_2_LED_TOTAL 37
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
 | 
			
		||||
 | 
			
		||||
/* Enable caps-lock LED */
 | 
			
		||||
#define CAPS_LOCK_LED_INDEX 45
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,11 +16,6 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define DRIVER_1_LED_TOTAL 45
 | 
			
		||||
#define DRIVER_2_LED_TOTAL 37
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
 | 
			
		||||
 | 
			
		||||
/* Encoder Configuration */
 | 
			
		||||
#define ENCODER_DEFAULT_POS 0x3
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -27,9 +27,6 @@
 | 
			
		|||
#define I2C1_TIMINGR_SCLH 15U
 | 
			
		||||
#define I2C1_TIMINGR_SCLL 51U
 | 
			
		||||
 | 
			
		||||
/* Disable RGB lighting when PC is in suspend */
 | 
			
		||||
#define RGB_MATRIX_SLEEP
 | 
			
		||||
 | 
			
		||||
/* EEPROM Driver Configuration */
 | 
			
		||||
#define WEAR_LEVELING_LOGICAL_SIZE 2048
 | 
			
		||||
#define WEAR_LEVELING_BACKING_SIZE (WEAR_LEVELING_LOGICAL_SIZE * 2)
 | 
			
		||||
| 
						 | 
				
			
			@ -39,10 +36,4 @@
 | 
			
		|||
#define SNLED27351_CURRENT_TUNE \
 | 
			
		||||
    { 0xA6, 0xA6, 0x50, 0xA6, 0xA6, 0x50, 0xA6, 0xA6, 0x50, 0xA6, 0xA6, 0x50 }
 | 
			
		||||
 | 
			
		||||
// RGB Matrix Animation modes. Explicitly enabled
 | 
			
		||||
// For full list of effects, see:
 | 
			
		||||
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects
 | 
			
		||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
 | 
			
		||||
#define RGB_MATRIX_KEYPRESSES
 | 
			
		||||
 | 
			
		||||
#define HOLD_ON_OTHER_KEY_PRESS // Old default behavior of mod-taps
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,6 +56,7 @@
 | 
			
		|||
            "solid_reactive_multinexus": true,
 | 
			
		||||
            "splash": true,
 | 
			
		||||
            "solid_splash": true
 | 
			
		||||
        }
 | 
			
		||||
        },
 | 
			
		||||
        "sleep": true
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,10 +16,5 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define DRIVER_1_LED_TOTAL 45
 | 
			
		||||
#define DRIVER_2_LED_TOTAL 38
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
 | 
			
		||||
 | 
			
		||||
/* Enable caps-lock LED */
 | 
			
		||||
#define CAPS_LOCK_LED_INDEX 44
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,11 +16,6 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define DRIVER_1_LED_TOTAL 45
 | 
			
		||||
#define DRIVER_2_LED_TOTAL 38
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
 | 
			
		||||
 | 
			
		||||
/* Encoder Configuration */
 | 
			
		||||
#define ENCODER_DEFAULT_POS 0x3
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,10 +16,5 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define DRIVER_1_LED_TOTAL 46
 | 
			
		||||
#define DRIVER_2_LED_TOTAL 40
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
 | 
			
		||||
 | 
			
		||||
/* Enable caps-lock LED */
 | 
			
		||||
#define CAPS_LOCK_LED_INDEX 45
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,11 +16,6 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define DRIVER_1_LED_TOTAL 46
 | 
			
		||||
#define DRIVER_2_LED_TOTAL 40
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
 | 
			
		||||
 | 
			
		||||
/* Encoder Configuration */
 | 
			
		||||
#define ENCODER_DEFAULT_POS 0x3
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue