Move matrix config to info.json, part 6 (#20019)
This commit is contained in:
parent
9e64300e67
commit
76cc7fe109
702 changed files with 1779 additions and 5015 deletions
|
@ -17,14 +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 { B0, B1, B2, B3, F4, F5, F6, F7 }
|
||||
#define MATRIX_COL_PINS { C7, D3, D5, D4, D6, D7, B4, B5 }
|
||||
|
||||
/* COL2ROW or ROW2COL */
|
||||
#define DIODE_DIRECTION ROW2COL
|
||||
|
||||
/* RGB Indicators */
|
||||
#define RGB_DI_PIN E6
|
||||
#define RGBLED_NUM 3
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
"pid": "0xE881",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["C7", "D3", "D5", "D4", "D6", "D7", "B4", "B5"],
|
||||
"rows": ["B0", "B1", "B2", "B3", "F4", "F5", "F6", "F7"]
|
||||
},
|
||||
"diode_direction": "ROW2COL",
|
||||
"encoder": {
|
||||
"rotary": [
|
||||
{"pin_a": "C6", "pin_b": "B6"}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue