1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
536 changed files with 1507 additions and 3196 deletions

View file

@ -1,22 +1,5 @@
#pragma once
/*
* Keyboard Matrix Assignments
*
* Change this to how you wired your keyboard
* COLS: AVR pins used for columns, left to right
* ROWS: AVR pins used for rows, top to bottom
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
*
*/
#define MATRIX_ROW_PINS { D7, E0, E1, C0, C6, F6, D4, D2, D3, D0, B7, D1, E6, B4, B2 }
#define MATRIX_COL_PINS { E7, F0, F7, B1, B3, B0, D5 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
#define IGNORE_MOD_TAP_INTERRUPT
// The Teensy 2++ consumes about 60 mA of current at its full speed of 16 MHz as

View file

@ -6,6 +6,11 @@
"pid": "0x6060",
"device_version": "0.0.2"
},
"matrix_pins": {
"cols": ["E7", "F0", "F7", "B1", "B3", "B0", "D5"],
"rows": ["D7", "E0", "E1", "C0", "C6", "F6", "D4", "D2", "D3", "D0", "B7", "D1", "E6", "B4", "B2"]
},
"diode_direction": "COL2ROW",
"indicators": {
"caps_lock": "C1",
"num_lock": "C5",