1
0
Fork 0

Move matrix config to info.json, part 7 (#20020)

This commit is contained in:
Ryan 2023-03-11 00:39:56 +11:00 committed by GitHub
parent ace372d90d
commit caa8c81086
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
421 changed files with 1081 additions and 3038 deletions

View file

@ -16,12 +16,6 @@
#pragma once
#define MATRIX_ROW_PINS { F0, E6, D5, F1, F4 }
#define MATRIX_COL_PINS { C7, D3, D2, D1, D0, B7, B3, B2, C6, B6, B5, B4, D7, D6, D4 }
#define DIODE_DIRECTION COL2ROW
// Note: array is { col, row )
#define ENCODERS_CW_KEY { { 5, 4 } }
#define ENCODERS_CCW_KEY { { 3, 4 } }

View file

@ -8,6 +8,11 @@
"pid": "0x0004",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["C7", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
"rows": ["F0", "E6", "D5", "F1", "F4"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B1", "pin_b": "B0", "resolution": 2}

View file

@ -16,12 +16,6 @@
#pragma once
#define MATRIX_ROW_PINS { F0, E6, D5, F1, F4 }
#define MATRIX_COL_PINS { C7, D3, D2, D1, D0, B7, B3, B2, C6, B6, B5, B4, D7, D6, D4 }
#define DIODE_DIRECTION COL2ROW
// Note: array is { col, row )
#define ENCODERS_CW_KEY { { 5, 4 } }
#define ENCODERS_CCW_KEY { { 3, 4 } }

View file

@ -8,6 +8,11 @@
"pid": "0x0005",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["C7", "D3", "D2", "D1", "D0", "B7", "B3", "B2", "C6", "B6", "B5", "B4", "D7", "D6", "D4"],
"rows": ["F0", "E6", "D5", "F1", "F4"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B1", "pin_b": "B0", "resolution": 2}

View file

@ -16,12 +16,6 @@
#pragma once
#define MATRIX_ROW_PINS { B3, B7, B2, F0, D3, D0 }
#define MATRIX_COL_PINS { D6, D7, D1, D5, F7, D4, F5, F4, F1, C7, C6, B6, B5, B4, E6, B1, B0 }
#define DIODE_DIRECTION COL2ROW
#define RGB_DI_PIN D2
#ifdef RGB_DI_PIN
#define RGBLED_NUM 20

View file

@ -8,6 +8,11 @@
"pid": "0x0007",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["D6", "D7", "D1", "D5", "F7", "D4", "F5", "F4", "F1", "C7", "C6", "B6", "B5", "B4", "E6", "B1", "B0"],
"rows": ["B3", "B7", "B2", "F0", "D3", "D0"]
},
"diode_direction": "COL2ROW",
"indicators": {
"caps_lock": "F6",
"on_state": 0