Move matrix config to info.json, part 4 (#20001)
This commit is contained in:
@@ -18,14 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
// THK has a different pin-out
|
||||
#undef MATRIX_ROW_PINS
|
||||
#undef MATRIX_COL_PINS
|
||||
|
||||
#define MATRIX_ROW_PINS { A7, A6, A5, A4 }
|
||||
#define MATRIX_COL_PINS { D7, C2, C3, C4, C5, C6, C7, A3, A2, A1, A0, B0 }
|
||||
|
||||
#define TAPPING_TOGGLE 3
|
||||
|
||||
#define DIP_SWITCH_PINS { D0, D1, D4, D6 }
|
||||
|
@@ -8,6 +8,11 @@
|
||||
"pid": "0x25A7",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["D7", "C2", "C3", "C4", "C5", "C6", "C7", "A3", "A2", "A1", "A0", "B0"],
|
||||
"rows": ["A7", "A6", "A5", "A4"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B4", "pin_b": "B3"},
|
||||
|
Reference in New Issue
Block a user