Move matrix config to info.json, part 6 (#20019)
This commit is contained in:
		
							parent
							
								
									9e64300e67
								
							
						
					
					
						commit
						76cc7fe109
					
				
					 702 changed files with 1779 additions and 5015 deletions
				
			
		| 
						 | 
				
			
			@ -17,14 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/* pinout - DON'T CHANGE */
 | 
			
		||||
#define MATRIX_ROW_PINS { B3, B4 }
 | 
			
		||||
#define MATRIX_COL_PINS { B0, B1, B2 }
 | 
			
		||||
 | 
			
		||||
/* COL2ROW, ROW2COL*/
 | 
			
		||||
#define DIODE_DIRECTION COL2ROW
 | 
			
		||||
 | 
			
		||||
#define RGB_DI_PIN D2
 | 
			
		||||
#define RGBLED_NUM 10
 | 
			
		||||
#define RGB_MATRIX_LED_COUNT RGBLED_NUM
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,11 @@
 | 
			
		|||
      "pid": "0x0037",
 | 
			
		||||
      "device_version": "0.0.1"
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
      "cols": ["B0", "B1", "B2"],
 | 
			
		||||
      "rows": ["B3", "B4"]
 | 
			
		||||
    },
 | 
			
		||||
    "diode_direction": "COL2ROW",
 | 
			
		||||
    "processor": "atmega32u2",
 | 
			
		||||
    "bootloader": "atmel-dfu",
 | 
			
		||||
    "layouts": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue