Move matrix config to info.json, part 4 (#20001)

This commit is contained in:
Ryan
2023-03-11 00:00:24 +11:00
committed by GitHub
parent dd086a51d8
commit 9e64300e67
584 changed files with 1484 additions and 3703 deletions

View File

@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* Keyboard Matrix Assignments */
#define MATRIX_ROW_PINS { D4, D6, B1, C5, B4, B3, C4, B2, B0, D5 }
#define MATRIX_COL_PINS { B6, B5, C7, C6, D2, D1, D0, C2 }
/* COL2ROW, ROW2COL*/
#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": "0x4024",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B6", "B5", "C7", "C6", "D2", "D1", "D0", "C2"],
"rows": ["D4", "D6", "B1", "C5", "B4", "B3", "C4", "B2", "B0", "D5"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B7",
"levels": 4