Migrate RGB Matrix config to info.json - H (#22861)
This commit is contained in:
		
							parent
							
								
									c7b59a96df
								
							
						
					
					
						commit
						a45107e152
					
				
					 39 changed files with 413 additions and 681 deletions
				
			
		| 
						 | 
				
			
			@ -18,6 +18,4 @@
 | 
			
		|||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define IS31FL3731_I2C_ADDRESS_1 IS31FL3731_I2C_ADDRESS_GND
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT 20
 | 
			
		||||
#define I2C1_CLOCK_SPEED 100000
 | 
			
		||||
#define RGB_MATRIX_CENTER { 40, 30 }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -13,6 +13,7 @@
 | 
			
		|||
        "nkro": true
 | 
			
		||||
    },
 | 
			
		||||
    "rgb_matrix": {
 | 
			
		||||
        "center_point": [40, 30],
 | 
			
		||||
        "driver": "is31fl3731"
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -60,7 +60,7 @@ led_config_t g_led_config = {
 | 
			
		|||
         { 11, 12, 13, 14, 15 },
 | 
			
		||||
         { 16, 17, 18, 19, 19 },
 | 
			
		||||
         { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED },
 | 
			
		||||
         { NO_LED, NO_LED }
 | 
			
		||||
         { NO_LED, NO_LED, NO_LED, NO_LED, NO_LED }
 | 
			
		||||
     },
 | 
			
		||||
 | 
			
		||||
     // LED index to physical location
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue