Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
		
							parent
							
								
									76cc7fe109
								
							
						
					
					
						commit
						ace372d90d
					
				
					 623 changed files with 1593 additions and 4581 deletions
				
			
		| 
						 | 
				
			
			@ -9,10 +9,6 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// Last pins reserved for encoder / touch encoder support
 | 
			
		||||
#define MATRIX_ROW_PINS { A1, A3, B3, A13, B15, NO_PIN, NO_PIN }
 | 
			
		||||
#define MATRIX_COL_PINS { A0, B11, B0, B10, B12, B2, A8 }
 | 
			
		||||
#define MATRIX_IO_DELAY 5
 | 
			
		||||
 | 
			
		||||
#define BUSY_WAIT
 | 
			
		||||
| 
						 | 
				
			
			@ -25,9 +21,6 @@
 | 
			
		|||
#define TOUCH_RESOLUTION 25 // sensitivity of swipes, lower=faster
 | 
			
		||||
#define TOUCH_SEGMENTS 3
 | 
			
		||||
 | 
			
		||||
/* COL2ROW or ROW2COL */
 | 
			
		||||
#define DIODE_DIRECTION COL2ROW
 | 
			
		||||
 | 
			
		||||
/* CRC Configuration */
 | 
			
		||||
#define CRC8_OPTIMIZE_SPEED
 | 
			
		||||
#define CRC8_USE_TABLE
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -8,6 +8,11 @@
 | 
			
		|||
        "pid": "0x3505",
 | 
			
		||||
        "device_version": "0.0.1"
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "cols": ["A0", "B11", "B0", "B10", "B12", "B2", "A8"],
 | 
			
		||||
        "rows": ["A1", "A3", "B3", "A13", "B15", null, null]
 | 
			
		||||
    },
 | 
			
		||||
    "diode_direction": "COL2ROW",
 | 
			
		||||
    "encoder": {
 | 
			
		||||
        "rotary": [
 | 
			
		||||
            {"pin_a": "B8", "pin_b": "A14"},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue