Move matrix config to info.json, part 8 (#20030)

This commit is contained in:
Ryan
2023-03-11 04:59:07 +11:00
committed by GitHub
parent 4b1f0e8daa
commit 1022afa6c2
536 changed files with 1507 additions and 3196 deletions

View File

@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define DIODE_DIRECTION COL2ROW
// wiring of each half
#define MATRIX_ROW_PINS { B1, B2, C7, B4, D7, B0 }
#define MATRIX_COL_PINS { F4, NO_PIN, F0, B7, B3, D2, D3, D5, D4, NO_PIN }
#define MATRIX_ROW_PINS_RIGHT { B3, B2, B6, B4, D7, B0 }
#define MATRIX_COL_PINS_RIGHT { F1, F0, F4, F5, F6, D5, D2, D3, B7, B1 }
#define SPLIT_HAND_PIN F7
#define CAPS_LOCK_LED_PIN B6

View File

@@ -8,6 +8,11 @@
"pid": "0x126A",
"device_version": "1.0.0"
},
"matrix_pins": {
"cols": ["F4", null, "F0", "B7", "B3", "D2", "D3", "D5", "D4", null],
"rows": ["B1", "B2", "C7", "B4", "D7", "B0"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "F5", "pin_b": "F6"}
@@ -25,6 +30,12 @@
{"pin_a": "C7", "pin_b": "C6"}
]
}
},
"matrix_pins": {
"right": {
"cols": ["F1", "F0", "F4", "F5", "F6", "D5", "D2", "D3", "B7", "B1"],
"rows": ["B3", "B2", "B6", "B4", "D7", "B0"]
}
}
},
"processor": "atmega32u4",