Move matrix config to info.json, part 5 (#20003)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-03-11 05:41:58 +11:00
committed by GitHub
parent 1022afa6c2
commit e933e0411f
683 changed files with 1764 additions and 4315 deletions

View File

@@ -17,25 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/*
* Keyboard Matrix Assignments
*
* Change this to how you wired your keyboard
* COLS: AVR pins used for columns, left to right
* ROWS: AVR pins used for rows, top to bottom
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/
#define MATRIX_ROW_PINS { D7, D6, D4, F0 }
#define MATRIX_COL_PINS { E6, F6, B1, B0, C7, C6 }
#define MATRIX_ROW_PINS_RIGHT { B5, D7, B4, D4 }
#define MATRIX_COL_PINS_RIGHT { D6, B6, B1, B0, B3, B2 }
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define SPLIT_HAND_PIN D5
#define SPLIT_USB_DETECT
#define SPLIT_USB_TIMEOUT 2500

View File

@@ -8,8 +8,19 @@
"pid": "0x0014",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["E6", "F6", "B1", "B0", "C7", "C6"],
"rows": ["D7", "D6", "D4", "F0"]
},
"diode_direction": "COL2ROW",
"split": {
"soft_serial_pin": "D0"
"soft_serial_pin": "D0",
"matrix_pins": {
"right": {
"cols": ["D6", "B6", "B1", "B0", "B3", "B2"],
"rows": ["B5", "D7", "B4", "D4"]
}
}
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",