Migrate RGB Matrix config to info.json - RS (#22909)
This commit is contained in:
		
							parent
							
								
									de6ae3408c
								
							
						
					
					
						commit
						a90b45e832
					
				
					 72 changed files with 839 additions and 1201 deletions
				
			
		| 
						 | 
				
			
			@ -25,11 +25,3 @@
 | 
			
		|||
#    define OLED_DISPLAY_128X32
 | 
			
		||||
#    define SPLIT_OLED_ENABLE
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// Not yet available in `info.json`
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
#    define RGB_MATRIX_MAXIMUM_BRIGHTNESS 128
 | 
			
		||||
#    define RGB_MATRIX_LED_COUNT 54
 | 
			
		||||
#    define RGB_MATRIX_SPLIT { 27, 27 }
 | 
			
		||||
#    define SPLIT_TRANSPORT_MIRROR
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -95,6 +95,11 @@
 | 
			
		|||
                    {"pin_a": "F6", "pin_b": "F7"}
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "transport": {
 | 
			
		||||
            "sync": {
 | 
			
		||||
                "matrix_state": true
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "rgblight": {
 | 
			
		||||
| 
						 | 
				
			
			@ -164,6 +169,7 @@
 | 
			
		|||
            {"flags": 4, "matrix": [5, 0], "x": 224, "y": 24}, // R SW12
 | 
			
		||||
            {"flags": 4, "matrix": [6, 0], "x": 224, "y": 41}  // R SW18
 | 
			
		||||
        ],
 | 
			
		||||
        "max_brightness": 128
 | 
			
		||||
        "max_brightness": 128,
 | 
			
		||||
        "split_count": [27, 27]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,5 +20,3 @@
 | 
			
		|||
 | 
			
		||||
#define OLED_DISPLAY_128X32
 | 
			
		||||
#define SPLIT_OLED_ENABLE
 | 
			
		||||
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT 76
 | 
			
		||||
| 
						 | 
				
			
			@ -25,10 +25,3 @@
 | 
			
		|||
#    define OLED_DISPLAY_128X32
 | 
			
		||||
#    define SPLIT_OLED_ENABLE
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// Not yet available in `info.json`
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
#    define RGB_MATRIX_LED_COUNT 68
 | 
			
		||||
#    define RGB_MATRIX_SPLIT { 34, 34 }
 | 
			
		||||
#    define SPLIT_TRANSPORT_MIRROR
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -106,6 +106,11 @@
 | 
			
		|||
                    {"pin_a": "F7", "pin_b": "F6"}
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "transport": {
 | 
			
		||||
            "sync": {
 | 
			
		||||
                "matrix_state": true
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "rgblight": {
 | 
			
		||||
| 
						 | 
				
			
			@ -189,6 +194,7 @@
 | 
			
		|||
            {"flags": 4, "matrix": [9, 3], "x": 173, "y": 62}, // R SW27
 | 
			
		||||
            {"flags": 4, "matrix": [9, 2], "x": 188, "y": 62}  // R SW26
 | 
			
		||||
        ],
 | 
			
		||||
        "max_brightness": 128
 | 
			
		||||
        "max_brightness": 128,
 | 
			
		||||
        "split_count": [34, 34]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,5 +20,3 @@
 | 
			
		|||
 | 
			
		||||
#define OLED_DISPLAY_128X32
 | 
			
		||||
#define SPLIT_OLED_ENABLE
 | 
			
		||||
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT 70
 | 
			
		||||
| 
						 | 
				
			
			@ -25,10 +25,3 @@
 | 
			
		|||
#    define OLED_DISPLAY_128X32
 | 
			
		||||
#    define SPLIT_OLED_ENABLE
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
// Not yet available in `info.json`
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
#    define RGB_MATRIX_LED_COUNT 46
 | 
			
		||||
#    define RGB_MATRIX_SPLIT { 23, 23 }
 | 
			
		||||
#    define SPLIT_TRANSPORT_MIRROR
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -92,6 +92,11 @@
 | 
			
		|||
                    {"pin_a": "F5", "pin_b": "D4"}
 | 
			
		||||
                ]
 | 
			
		||||
            }
 | 
			
		||||
        },
 | 
			
		||||
        "transport": {
 | 
			
		||||
            "sync": {
 | 
			
		||||
                "matrix_state": true
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    },
 | 
			
		||||
    "rgblight": {
 | 
			
		||||
| 
						 | 
				
			
			@ -153,6 +158,7 @@
 | 
			
		|||
            {"flags": 4, "matrix": [7, 0], "x": 132, "y": 64},
 | 
			
		||||
            {"flags": 4, "matrix": [7, 1], "x": 153, "y": 60}
 | 
			
		||||
        ],
 | 
			
		||||
        "max_brightness": 128
 | 
			
		||||
        "max_brightness": 128,
 | 
			
		||||
        "split_count": [23, 23]
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue