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,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