Migrate RGB Matrix config to info.json - C (#22807)
This commit is contained in:
		
							parent
							
								
									c412b7fc42
								
							
						
					
					
						commit
						a5f1438f58
					
				
					 25 changed files with 211 additions and 330 deletions
				
			
		| 
						 | 
				
			
			@ -1,22 +0,0 @@
 | 
			
		|||
/* Copyright 2023 Clickety Split Ltd.
 | 
			
		||||
 *
 | 
			
		||||
 * This program is free software: you can redistribute it and/or modify
 | 
			
		||||
 * it under the terms of the GNU General Public License as published by
 | 
			
		||||
 * the Free Software Foundation, either version 2 of the License, or
 | 
			
		||||
 * (at your option) any later version.
 | 
			
		||||
 *
 | 
			
		||||
 * This program is distributed in the hope that it will be useful,
 | 
			
		||||
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
			
		||||
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
			
		||||
 * GNU General Public License for more details.
 | 
			
		||||
 *
 | 
			
		||||
 * You should have received a copy of the GNU General Public License
 | 
			
		||||
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#    define RGB_MATRIX_LED_COUNT 74
 | 
			
		||||
#    define RGB_MATRIX_SPLIT {37, 37}
 | 
			
		||||
#    define RGB_MATRIX_SLEEP
 | 
			
		||||
#    define SPLIT_TRANSPORT_MIRROR
 | 
			
		||||
| 
						 | 
				
			
			@ -99,6 +99,8 @@
 | 
			
		|||
          {"flags": 4, "matrix": [6, 0], "x": 224, "y": 16},  // R LB72 | SW36
 | 
			
		||||
          {"flags": 4, "matrix": [7, 0], "x": 224, "y": 32},  // R LB73 | SW42
 | 
			
		||||
          {"flags": 4, "matrix": [8, 0], "x": 224, "y": 48}   // R LB74 | SW48
 | 
			
		||||
        ]
 | 
			
		||||
        ],
 | 
			
		||||
        "split_count": [37, 37],
 | 
			
		||||
        "sleep": true
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue