Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
@ -2,6 +2,11 @@
|
||||
"usb": {
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],
|
||||
"rows": ["D4", "D7", "E6", "B4", "B5"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"split": {
|
||||
"soft_serial_pin": "D0"
|
||||
},
|
||||
|
@ -17,15 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
// wiring of each half
|
||||
#define MATRIX_ROW_PINS { D4, D7, E6, B4, B5 }
|
||||
#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 }
|
||||
// #define MATRIX_COL_PINS { B6, B2, B3, B1, F7, F6, F5} //uncomment this line and comment line above if you need to reverse left-to-right key order
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
/* Locking resynchronize hack */
|
||||
|
@ -3,13 +3,6 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
// wiring of each half
|
||||
#undef MATRIX_ROW_PINS
|
||||
#define MATRIX_ROW_PINS { B5, B3, B2, B1, B0 }
|
||||
#undef MATRIX_COL_PINS
|
||||
#define MATRIX_COL_PINS { A1, A0, B8, B13, B14, B15, B9 }
|
||||
|
||||
// //we are using hardware serial, so lets undef the softserial used otherwise
|
||||
|
||||
/* serial.c configuration for split keyboard */
|
||||
|
@ -2,6 +2,11 @@
|
||||
"usb": {
|
||||
"device_version": "1.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A1", "A0", "B8", "B13", "B14", "B15", "B9"],
|
||||
"rows": ["B5", "B3", "B2", "B1", "B0"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "STM32F303",
|
||||
"bootloader": "stm32-dfu",
|
||||
"board": "QMK_PROTON_C"
|
||||
|
Reference in New Issue
Block a user