Move matrix config to info.json, part 8 (#20030)
This commit is contained in:
parent
4b1f0e8daa
commit
1022afa6c2
536 changed files with 1507 additions and 3196 deletions
|
@ -17,15 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
|
||||
// ROWS: Top to bottom, COLS: Left to right
|
||||
|
||||
#define MATRIX_ROW_PINS { B7, B2, F1, F4, D6, D7, D5, D4, D3, D2 }
|
||||
#define MATRIX_COL_PINS { F5, F6, F7, C6, B6, B5, B4, B3 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
/*RGB TINGS*/
|
||||
#define RGB_DI_PIN E6
|
||||
#define RGBLED_NUM 12
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0xE88F",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F5", "F6", "F7", "C6", "B6", "B5", "B4", "B3"],
|
||||
"rows": ["B7", "B2", "F1", "F4", "D6", "D7", "D5", "D4", "D3", "D2"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "B0", "pin_b": "B1"}
|
||||
|
|
|
@ -17,15 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
|
||||
#pragma once
|
||||
|
||||
|
||||
// ROWS: Top to bottom, COLS: Left to right
|
||||
|
||||
#define MATRIX_ROW_PINS { F1, F3, F4, F5, F6, F7 }
|
||||
#define MATRIX_COL_PINS { F2, F0, A2, A1, A0, D2, D3, D4, D5, D6, D7, E0, E1, C0, C1, C2 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION COL2ROW
|
||||
|
||||
#define EMCODER_DIRECTION_FLIP
|
||||
|
||||
/*EEPROM for via*/
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0xEA53",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F2", "F0", "A2", "A1", "A0", "D2", "D3", "D4", "D5", "D6", "D7", "E0", "E1", "C0", "C1", "C2"],
|
||||
"rows": ["F1", "F3", "F4", "F5", "F6", "F7"]
|
||||
},
|
||||
"diode_direction": "COL2ROW",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "A3", "pin_b": "A4"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue