Move matrix config to info.json, part 5 (#20003)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
		
							parent
							
								
									1022afa6c2
								
							
						
					
					
						commit
						e933e0411f
					
				
					 683 changed files with 1764 additions and 4315 deletions
				
			
		| 
						 | 
				
			
			@ -17,22 +17,6 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Key matrix pins
 | 
			
		||||
 * ROWS: AVR pins used for rows, top to bottom
 | 
			
		||||
 * COLS: AVR pins used for columns, left to right
 | 
			
		||||
 */
 | 
			
		||||
#define MATRIX_ROW_PINS { F0, F1, F4, F5, F6, F7 }
 | 
			
		||||
#define MATRIX_COL_PINS { D7, C7, C6, B6, B5, B4, D6, D4, E6, D5, D3, D2, B7, B0 }
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Diode Direction
 | 
			
		||||
 * COL2ROW = COL => Anode (+), ROW => Cathode (-)
 | 
			
		||||
 * ROW2COL = ROW => Anode (+), COL => Cathode (-)
 | 
			
		||||
 */
 | 
			
		||||
#define DIODE_DIRECTION COL2ROW
 | 
			
		||||
 | 
			
		||||
#ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
#    define RGB_DI_PIN E2
 | 
			
		||||
#    define RGB_MATRIX_LED_COUNT 84
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue