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

@@ -17,16 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS { F5, F6, F7, B1, B3 }
#define MATRIX_COL_PINS { D4, D0, D1, C6, D7, E6, F4, B2, B6 }
#define MATRIX_ROW_PINS_RIGHT { D7, E6, B4, B5, B6 }
#define MATRIX_COL_PINS_RIGHT { C6, D4, D0, D1, B1, F7, F4, F5, F6 }
/* 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

View File

@@ -8,6 +8,11 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["D4", "D0", "D1", "C6", "D7", "E6", "F4", "B2", "B6"],
"rows": ["F5", "F6", "F7", "B1", "B3"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B5", "pin_b": "B4"}
@@ -21,6 +26,12 @@
{"pin_a": "B3", "pin_b": "B2"}
]
}
},
"matrix_pins": {
"right": {
"cols": ["C6", "D4", "D0", "D1", "B1", "F7", "F4", "F5", "F6"],
"rows": ["D7", "E6", "B4", "B5", "B6"]
}
}
},
"processor": "atmega32u4",