Move matrix config to info.json, part 2 (#19987)

This commit is contained in:
Ryan
2023-03-10 22:16:56 +11:00
committed by GitHub
parent 80661e5f19
commit dd086a51d8
494 changed files with 1235 additions and 3287 deletions

View File

@@ -1,27 +0,0 @@
/* Copyright 2022 HorrorTroll <https://github.com/HorrorTroll>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS \
{ GP7, GP0, GP8, GP25, GP11, GP12 }
#define MATRIX_COL_PINS \
{ GP6, GP5, GP4, GP3, GP2, GP1, GP20, GP21, GP16, GP17, GP18, GP19, GP15, GP14, GP13, GP10, GP9 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

View File

@@ -8,6 +8,11 @@
"pid": "0x6002",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["GP6", "GP5", "GP4", "GP3", "GP2", "GP1", "GP20", "GP21", "GP16", "GP17", "GP18", "GP19", "GP15", "GP14", "GP13", "GP10", "GP9"],
"rows": ["GP7", "GP0", "GP8", "GP25", "GP11", "GP12"]
},
"diode_direction": "COL2ROW",
"processor": "RP2040",
"bootloader": "rp2040",
"community_layouts": ["tkl_f13_ansi"],

View File

@@ -8,6 +8,11 @@
"pid": "0x6001",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["GP6", "GP5", "GP4", "GP3", "GP2", "GP1", "GP20", "GP21", "GP16", "GP17", "GP18", "GP19", "GP15", "GP14", "GP13", "GP10", "GP9"],
"rows": ["GP7", "GP0", "GP8", "GP25", "GP11", "GP12"]
},
"diode_direction": "COL2ROW",
"processor": "RP2040",
"bootloader": "rp2040",
"community_layouts": ["tkl_ansi", "tkl_ansi_split_bs_rshift", "tkl_ansi_tsangan", "tkl_ansi_tsangan_split_bs_rshift", "tkl_f13_ansi", "tkl_f13_ansi_split_bs_rshift", "tkl_f13_ansi_tsangan", "tkl_f13_ansi_tsangan_split_bs_rshift", "tkl_iso", "tkl_iso_split_bs_rshift", "tkl_iso_tsangan", "tkl_iso_tsangan_split_bs_rshift", "tkl_f13_iso", "tkl_f13_iso_split_bs_rshift", "tkl_f13_iso_tsangan", "tkl_f13_iso_tsangan_split_bs_rshift"],

View File

@@ -16,14 +16,6 @@
#pragma once
/* Key matrix pins */
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7 }
#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, F7, F6, F5, F4, F1, F0 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
/* Forcing to use NKRO instead 6KRO */
#define FORCE_NKRO

View File

@@ -8,6 +8,11 @@
"pid": "0x7000",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0"],
"rows": ["B0", "B1", "B2", "B3", "B7"]
},
"diode_direction": "ROW2COL",
"backlight": {
"pin": "B6",
"levels": 6

View File

@@ -16,14 +16,6 @@
#pragma once
/* Key matrix pins */
#define MATRIX_ROW_PINS { B7, B3, B2, F6, F7 }
#define MATRIX_COL_PINS { B1, B0, B5, B6, C6, C7, E2, D0, D1, D2, D3, D5, D4, D6, D7, B4 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Forcing to use NKRO instead 6KRO */
#define FORCE_NKRO

View File

@@ -8,6 +8,11 @@
"pid": "0x7001",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B1", "B0", "B5", "B6", "C6", "C7", "E2", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],
"rows": ["B7", "B3", "B2", "F6", "F7"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -16,14 +16,6 @@
#pragma once
/* Key matrix pins */
#define MATRIX_ROW_PINS { C12, C10, A10, A8, C8, C9 }
#define MATRIX_COL_PINS { B15, C6, C7, A3, A1, C3, C1, B14, B13, A9, B3, B4, A0, C11, C4, C0, C2 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION ROW2COL
/* Forcing to use NKRO instead 6KRO */
#define FORCE_NKRO

View File

@@ -8,6 +8,11 @@
"pid": "0x5104",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B15", "C6", "C7", "A3", "A1", "C3", "C1", "B14", "B13", "A9", "B3", "B4", "A0", "C11", "C4", "C0", "C2"],
"rows": ["C12", "C10", "A10", "A8", "C8", "C9"]
},
"diode_direction": "ROW2COL",
"community_layouts": ["tkl_ansi"],
"layouts": {
"LAYOUT_tkl_ansi": {

View File

@@ -16,14 +16,6 @@
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS { D7, E6, B4, B5, D4, C6, D2, D3 }
#define MATRIX_COL_PINS { F5, F6, B1, B3, B2, B6, F7 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Forcing to use NKRO instead 6KRO */
#define FORCE_NKRO

View File

@@ -8,6 +8,11 @@
"pid": "0x2434",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F5", "F6", "B1", "B3", "B2", "B6", "F7"],
"rows": ["D7", "E6", "B4", "B5", "D4", "C6", "D2", "D3"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -16,13 +16,5 @@
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS { E6, B7, F7, F4, F5 }
#define MATRIX_COL_PINS { F6, B0, F1, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3, D2, D1 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Forcing to use NKRO instead 6KRO */
#define FORCE_NKRO

View File

@@ -8,6 +8,11 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F6", "B0", "F1", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "D1"],
"rows": ["E6", "B7", "F7", "F4", "F5"]
},
"diode_direction": "COL2ROW",
"bootmagic": {
"matrix": [3, 6]
},