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

@ -15,16 +15,6 @@
*/
#pragma once
/* Keyboard Matrix Assignments */
#define MATRIX_ROW_PINS \
{ D4, D6, D7, B4, B5 }
#define MATRIX_COL_PINS \
{ B0, B1, B2, B3 }
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
/* Midi Slider */
#define SLIDER_PIN F6
#define MIDI_ADVANCED

View file

@ -8,6 +8,11 @@
"pid": "0x4C50",
"device_version": "99.9.9"
},
"matrix_pins": {
"cols": ["B0", "B1", "B2", "B3"],
"rows": ["D4", "D6", "D7", "B4", "B5"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "C6", "pin_b": "B6", "resolution": 2}