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,10 +17,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define MATRIX_COL_PINS { B11, B10, B2, A9, A15, B3, B4, B5, B6, B7, B8, B9, C13, C14, C15 }
 | 
			
		||||
#define MATRIX_ROW_PINS { B1, B0, A7, A5, A4 }
 | 
			
		||||
#define DIODE_DIRECTION COL2ROW
 | 
			
		||||
 | 
			
		||||
#define BACKLIGHT_PWM_DRIVER    PWMD3
 | 
			
		||||
#define BACKLIGHT_PWM_CHANNEL   1
 | 
			
		||||
#define BACKLIGHT_PAL_MODE      1
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,11 @@
 | 
			
		|||
        "pid": "0xA00C",
 | 
			
		||||
        "device_version": "0.0.1"
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "cols": ["B11", "B10", "B2", "A9", "A15", "B3", "B4", "B5", "B6", "B7", "B8", "B9", "C13", "C14", "C15"],
 | 
			
		||||
        "rows": ["B1", "B0", "A7", "A5", "A4"]
 | 
			
		||||
    },
 | 
			
		||||
    "diode_direction": "COL2ROW",
 | 
			
		||||
    "backlight": {
 | 
			
		||||
        "pin": "A6",
 | 
			
		||||
        "levels": 6,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue