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
				
			
		| 
						 | 
				
			
			@ -19,9 +19,6 @@
 | 
			
		|||
/* We use a pin with a stronger pull resistor than the internal MCU pins */
 | 
			
		||||
// #define MATRIX_UNSELECT_DRIVE_HIGH
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT 87
 | 
			
		||||
 | 
			
		||||
#define SNLED27351_CURRENT_TUNE \
 | 
			
		||||
    { 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44 }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,9 +20,6 @@
 | 
			
		|||
#define MATRIX_ROW_PINS { B5, B4, B3, A15, A14, A13 }
 | 
			
		||||
#define MATRIX_COL_PINS { C14, C15, A0, A1, A2, A3, A4, A5, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN }
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT 87
 | 
			
		||||
 | 
			
		||||
#define SNLED27351_CURRENT_TUNE \
 | 
			
		||||
    { 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44 }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -31,9 +31,3 @@
 | 
			
		|||
 | 
			
		||||
/* Encoder Configuration*/
 | 
			
		||||
#define ENCODER_DEFAULT_POS 0x3
 | 
			
		||||
 | 
			
		||||
/* turn off effects when suspended */
 | 
			
		||||
#define RGB_MATRIX_SLEEP
 | 
			
		||||
 | 
			
		||||
#define RGB_MATRIX_KEYPRESSES
 | 
			
		||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -46,7 +46,8 @@
 | 
			
		|||
            "splash": true,
 | 
			
		||||
            "typing_heatmap": true
 | 
			
		||||
        },
 | 
			
		||||
        "driver": "snled27351"
 | 
			
		||||
        "driver": "snled27351",
 | 
			
		||||
        "sleep": true
 | 
			
		||||
    },
 | 
			
		||||
    "url": "https://github.com/Keychron",
 | 
			
		||||
    "usb": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,9 +19,6 @@
 | 
			
		|||
/* We use a pin with a stronger pull resistor than the internal MCU pins */
 | 
			
		||||
// #define MATRIX_UNSELECT_DRIVE_HIGH
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT 88
 | 
			
		||||
 | 
			
		||||
#define SNLED27351_CURRENT_TUNE \
 | 
			
		||||
    { 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44 }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,9 +20,6 @@
 | 
			
		|||
#define MATRIX_ROW_PINS { B5, B4, B3, A15, A14, A13 }
 | 
			
		||||
#define MATRIX_COL_PINS { C14, C15, A0, A1, A2, A3, A4, A5, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN }
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT 88
 | 
			
		||||
 | 
			
		||||
#define SNLED27351_CURRENT_TUNE \
 | 
			
		||||
    { 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44, 0x9D, 0x9D, 0x44 }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,9 +19,6 @@
 | 
			
		|||
/* If PH3 used with a stronger pull resistor then the following definition needs be included */
 | 
			
		||||
// #define MATRIX_UNSELECT_DRIVE_HIGH
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT 91
 | 
			
		||||
 | 
			
		||||
#define SNLED27351_CURRENT_TUNE \
 | 
			
		||||
    { 0x94, 0x94, 0x44, 0x94, 0x94, 0x44, 0x94, 0x94, 0x44, 0x94, 0x94, 0x44 }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,9 +20,6 @@
 | 
			
		|||
#define MATRIX_ROW_PINS { B5, B4, B3, A15, A14, A13 }
 | 
			
		||||
#define MATRIX_COL_PINS { C14, C15, A0, A1, A2, A3, A4, A5, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN, NO_PIN }
 | 
			
		||||
 | 
			
		||||
/* RGB Matrix Configuration */
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT 92
 | 
			
		||||
 | 
			
		||||
#define SNLED27351_CURRENT_TUNE \
 | 
			
		||||
    { 0x94, 0x94, 0x44, 0x94, 0x94, 0x44, 0x94, 0x94, 0x44, 0x94, 0x94, 0x44 }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue