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
536 changed files with 1507 additions and 3196 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 { B0, B1, B2, B3, B4, B5 }
#define MATRIX_COL_PINS { A0, A1, A2, A3 }
#define DIODE_DIRECTION COL2ROW
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -8,6 +8,11 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3"],
"rows": ["B0", "B1", "B2", "B3", "B4", "B5"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "D4",
"breathing": true

View File

@@ -17,23 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#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 { D3, D1, D2, C6, C7, B6 }
#define MATRIX_COL_PINS { C4, C5, B3, B2 }
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
#define RGB_DI_PIN B5
#ifdef RGB_DI_PIN
#define RGBLED_NUM 16

View File

@@ -8,6 +8,11 @@
"pid": "0x0006",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["C4", "C5", "B3", "B2"],
"rows": ["D3", "D1", "D2", "C6", "C7", "B6"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B7",
"levels": 5,