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

@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MATRIX_ROW_PINS { F0, C7, B6, D5 }
#define MATRIX_COL_PINS { F1, F4, F5, F6, F7, C6, B3, B7, D0, D3, D2, D1 }
#define DIODE_DIRECTION COL2ROW
/* RBG underglow */
#define RGB_DI_PIN E6
#ifdef RGB_DI_PIN

View File

@@ -8,6 +8,11 @@
"pid": "0x0041",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F1", "F4", "F5", "F6", "F7", "C6", "B3", "B7", "D0", "D3", "D2", "D1"],
"rows": ["F0", "C7", "B6", "D5"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -16,14 +16,6 @@
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS { B3, B2 }
#define MATRIX_COL_PINS { B5, B4, B1, B0 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* RBG underglow */
#define RGB_DI_PIN C2
#ifdef RGB_DI_PIN

View File

@@ -8,6 +8,11 @@
"pid": "0x0008",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B5", "B4", "B1", "B0"],
"rows": ["B3", "B2"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u2",
"bootloader": "atmel-dfu",
"layouts": {

View File

@@ -17,14 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS { D0, D1, D2, D3 }
#define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View File

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

View File

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

View File

@@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MATRIX_ROW_PINS { B3, F0, E6, F4, F5 }
#define MATRIX_COL_PINS { F1, D5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4 }
#define DIODE_DIRECTION COL2ROW
/* RBG underglow */
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN

View File

@@ -8,6 +8,11 @@
"pid": "0x0061",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F1", "D5", "F6", "F7", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
"rows": ["B3", "F0", "E6", "F4", "F5"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B7"
},

View File

@@ -1,26 +0,0 @@
/*
Copyright 2019 Erovia
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 { D0, D1, D2 }
#define MATRIX_COL_PINS { B1, B2, B3, D4, D6, D7, B4, B5, B6, C6 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW

View File

@@ -8,6 +8,11 @@
"pid": "0x0030",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B1", "B2", "B3", "D4", "D6", "D7", "B4", "B5", "B6", "C6"],
"rows": ["D0", "D1", "D2"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B7"
},

View File

@@ -17,12 +17,6 @@
#pragma once
#define MATRIX_ROW_PINS { D0, D1, B6, F5 }
#define MATRIX_COL_PINS { F4, F6, F7, B5, B4, D7, D6, D4, D5, D3, D2, B0 }
#define DIODE_DIRECTION COL2ROW
#define RGB_DI_PIN C7
#ifdef RGB_DI_PIN
#define RGBLED_NUM 8

View File

@@ -8,6 +8,11 @@
"pid": "0x0042",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F4", "F6", "F7", "B5", "B4", "D7", "D6", "D4", "D5", "D3", "D2", "B0"],
"rows": ["D0", "D1", "B6", "F5"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B7",
"breathing": true

View File

@@ -1,13 +1,5 @@
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS { B0, B1, B2, B3 }
#define MATRIX_COL_PINS { B5, D0, D1, D2, D3, D4, D5, D6, D7, C6, C7, F4, F5, F6, F7 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View File

@@ -8,6 +8,11 @@
"pid": "0x0050",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B5", "D0", "D1", "D2", "D3", "D4", "D5", "D6", "D7", "C6", "C7", "F4", "F5", "F6", "F7"],
"rows": ["B0", "B1", "B2", "B3"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B6",
"levels": 6

View File

@@ -1,13 +1,5 @@
#pragma once
/* key matrix pins */
#define MATRIX_ROW_PINS { B0, B1, B2, B3, B4 }
#define MATRIX_COL_PINS { B5, D0, D1, D2, D3, D4, D5, D6, D7, C6, C7, F4, F5, F6, F7 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View File

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

View File

@@ -17,12 +17,6 @@
#pragma once
#define MATRIX_ROW_PINS { B1, B2, B3, F0, F1 }
#define MATRIX_COL_PINS { F4, F7, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3 }
#define DIODE_DIRECTION COL2ROW
#define RGB_DI_PIN D1
#ifdef RGB_DI_PIN
#define RGBLED_NUM 10

View File

@@ -8,6 +8,11 @@
"pid": "0x0062",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["F4", "F7", "F5", "F6", "C7", "C6", "B6", "B5", "B4", "D7", "D6", "D4", "D5", "D3"],
"rows": ["B1", "B2", "B3", "F0", "F1"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B7",
"levels": 5,