Move matrix config to info.json, part 1 (#19985)

This commit is contained in:
Ryan
2023-03-06 09:53:52 +11:00
committed by GitHub
parent b34d51d08d
commit 23c365b023
502 changed files with 1299 additions and 3461 deletions

View File

@@ -16,10 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define MATRIX_COL_PINS { B0, A5, A4, A3, A2, A1, A0, C15, A8 }
#define MATRIX_ROW_PINS { B10, B1, C13, C14, B14, B12, B9, B8, B5, B4, A15, B3 }
#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 */

View File

@@ -8,6 +8,11 @@
"pid": "0x000A",
"device_version": "0.0.2"
},
"matrix_pins": {
"cols": ["B0", "A5", "A4", "A3", "A2", "A1", "A0", "C15", "A8"],
"rows": ["B10", "B1", "C13", "C14", "B14", "B12", "B9", "B8", "B5", "B4", "A15", "B3"]
},
"diode_direction": "COL2ROW",
"indicators": {
"caps_lock": "A6",
"scroll_lock": "A7"