Move matrix config to info.json, part 1 (#19985)
This commit is contained in:
parent
b34d51d08d
commit
23c365b023
502 changed files with 1299 additions and 3461 deletions
|
@ -15,14 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_COL_PINS { B5, B6, B7, B8, B9, C13, C14, B0, B1, B2, B10, B11, B12, A15, B3 }
|
||||
#define MATRIX_ROW_PINS { A3, A4, A5, A7, C15 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
|
||||
# define RGB_DI_PIN B4
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
"pid": "0xAA88",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B5", "B6", "B7", "B8", "B9", "C13", "C14", "B0", "B1", "B2", "B10", "B11", "B12", "A15", "B3"],
|
||||
"rows": ["A3", "A4", "A5", "A7", "C15"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
/* Copyright 2022 JasonRen(biu)
|
||||
*
|
||||
* 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
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B11, B10, B2, B1, B0, A7, A6, A5, A3, A15, B3 }
|
||||
#define MATRIX_ROW_PINS { B12, B5, B4, A4, B7, B6 }
|
|
@ -6,6 +6,11 @@
|
|||
"pid": "0xAAEB",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A10", "A9", "A8", "B15", "B14", "B13", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A3", "A15", "B3"],
|
||||
"rows": ["B12", "B5", "B4", "A4", "B7", "B6"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
|
|
@ -15,12 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#define MATRIX_COL_PINS { B7, A6, B6, B5, B4, B3, A5, A10, B1, B0, A7, A9, B11, B10, B2, A15, B15 }
|
||||
#define MATRIX_ROW_PINS { A3, B9, B8, A4, C14, C13 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
|
||||
# define RGB_DI_PIN A8
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
"pid": "0xAACD",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B7", "A6", "B6", "B5", "B4", "B3", "A5", "A10", "B1", "B0", "A7", "A9", "B11", "B10", "B2", "A15", "B15"],
|
||||
"rows": ["A3", "B9", "B8", "A4", "C14", "C13"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"debounce": 8,
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
|
|
|
@ -15,12 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
#define MATRIX_COL_PINS { C13, C14, C15, A3, A4, A5, A6, B12, B13, B14, B15, A8, A9, A10, B8 }
|
||||
#define MATRIX_ROW_PINS { B0, B1, B2, B10, B11, B9 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
|
||||
# define RGB_DI_PIN A7
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
"pid": "0xAA87",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C13", "C14", "C15", "A3", "A4", "A5", "A6", "B12", "B13", "B14", "B15", "A8", "A9", "A10", "B8"],
|
||||
"rows": ["B0", "B1", "B2", "B10", "B11", "B9"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
|
|
@ -15,13 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
#define MATRIX_COL_PINS { A15, B3, B4, B6, B7, B5, C13, A5, A4, B14, B15, A8, A9, A10 }
|
||||
#define MATRIX_ROW_PINS { C14, B13, B12, C15, A3 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/* Fix VIA RGB_light */
|
||||
#define VIA_HAS_BROKEN_KEYCODES
|
||||
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
"pid": "0xAAAF",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["A15", "B3", "B4", "B6", "B7", "B5", "C13", "A5", "A4", "B14", "B15", "A8", "A9", "A10"],
|
||||
"rows": ["C14", "B13", "B12", "C15", "A3"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"processor": "STM32F401",
|
||||
"bootloader": "stm32-dfu",
|
||||
"layouts": {
|
||||
|
|
|
@ -16,14 +16,6 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_COL_PINS { B9, A3, A4, A5, A6, A7, B0, B2, B10, B11, B12, B13, B14, B15, A8 }
|
||||
#define MATRIX_ROW_PINS { B3, B4, B6, B7, B8 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define TAP_CODE_DELAY 15
|
||||
|
||||
/* RGB Matrix */
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
"pid": "0xAA83",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B9", "A3", "A4", "A5", "A6", "A7", "B0", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8"],
|
||||
"rows": ["B3", "B4", "B6", "B7", "B8"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A9", "pin_b": "A10"}
|
||||
|
|
|
@ -15,13 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define MATRIX_COL_PINS { B2, B10, B11, A8, A9, A10, B5, A15, B3, A2, A3, B4, A4, A5, A6 }
|
||||
#define MATRIX_ROW_PINS { B0, B6, B1, B7, A1 }
|
||||
|
||||
/* RGB Matrix */
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
"pid": "0xAA8D",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B2", "B10", "B11", "A8", "A9", "A10", "B5", "A15", "B3", "A2", "A3", "B4", "A4", "A5", "A6"],
|
||||
"rows": ["B0", "B6", "B1", "B7", "A1"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
|
|
@ -15,13 +15,6 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
#define MATRIX_COL_PINS { B6, B15, B14, B13, B12, B11, B10, B2, B1, B0, A7, A6, A5, A4 }
|
||||
#define MATRIX_ROW_PINS { A1, A3, A8, A9, A10 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#ifdef RGBLIGHT_ENABLE
|
||||
|
||||
# define RGB_DI_PIN B5
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
"pid": "0xAA0C",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B6", "B15", "B14", "B13", "B12", "B11", "B10", "B2", "B1", "B0", "A7", "A6", "A5", "A4"],
|
||||
"rows": ["A1", "A3", "A8", "A9", "A10"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"layouts": {
|
||||
"LAYOUT_60_tsangan_split_rshift": {
|
||||
"layout": [
|
||||
|
|
|
@ -15,13 +15,5 @@
|
|||
*/
|
||||
#pragma once
|
||||
|
||||
|
||||
/* key matrix pins */
|
||||
#define MATRIX_ROW_PINS { A2, A1, B8, B7, C15 }
|
||||
#define MATRIX_COL_PINS { B9, B6, B5, B4, B3, B1, B0, A7, A6, A5, A4, A3, A8, B15, B14 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
/* enable the nkro when using the VIA. */
|
||||
#define FORCE_NKRO
|
||||
|
|
|
@ -4,6 +4,11 @@
|
|||
"pid": "0xAAAD",
|
||||
"device_version": "1.0.0"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B9", "B6", "B5", "B4", "B3", "B1", "B0", "A7", "A6", "A5", "A4", "A3", "A8", "B15", "B14"],
|
||||
"rows": ["A2", "A1", "B8", "B7", "C15"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"indicators": {
|
||||
"caps_lock": "A15",
|
||||
"on_state": 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue