1
0
Fork 0

Move matrix config to info.json, part 1 (#19985)

This commit is contained in:
Ryan 2023-03-06 09:53:52 +11:00 committed by GitHub
parent b34d51d08d
commit 23c365b023
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
502 changed files with 1299 additions and 3461 deletions

View file

@ -17,11 +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, B6, B7 }
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3, C2, D7 }
#define DIODE_DIRECTION COL2ROW
#define RGBLED_NUM 16
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD

View file

@ -8,6 +8,11 @@
"pid": "0x5679",
"device_version": "2.0.0"
},
"matrix_pins": {
"cols": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7", "C7", "C6", "C5", "C4", "C3", "C2", "D7"],
"rows": ["B0", "B1", "B2", "B3", "B4", "B6", "B7"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "D4"
},

View file

@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
/* QMK JC65 PCB default pin-out */
#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B7, D4, B1, B0, B5, B4, D7, D6, B3, F4, F5 }
#define RGB_DI_PIN E2
#ifdef RGB_DI_PIN
#define RGBLIGHT_EFFECT_BREATHING
@ -39,5 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#endif
#define DIODE_DIRECTION COL2ROW

View file

@ -8,6 +8,11 @@
"pid": "0x6060",
"device_version": "0.0.2"
},
"matrix_pins": {
"cols": ["F0", "F1", "E6", "C7", "C6", "B7", "D4", "B1", "B0", "B5", "B4", "D7", "D6", "B3", "F4", "F5"],
"rows": ["D0", "D1", "D2", "D3", "D5"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B6"
},