Move matrix config to info.json, part 3 (#19991)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan 2023-03-11 00:34:34 +11:00 committed by GitHub
parent 76cc7fe109
commit ace372d90d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
623 changed files with 1593 additions and 4581 deletions

View file

@ -17,12 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
#define MATRIX_ROW_PINS { F1, F2, F3, F4 }
#define MATRIX_COL_PINS { A3, A2, A1, A0, F6, F5, F0, E0, E1, C0, C1, C2, C3 }
#define DIODE_DIRECTION COL2ROW
#ifdef OLED_ENABLE
# define OLED_DISPLAY_128X64
# define OLED_TIMEOUT 450000

View file

@ -8,6 +8,11 @@
"pid": "0x0003",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["A3", "A2", "A1", "A0", "F6", "F5", "F0", "E0", "E1", "C0", "C1", "C2", "C3"],
"rows": ["F1", "F2", "F3", "F4"]
},
"diode_direction": "COL2ROW",
"encoder": {
"rotary": [
{"pin_a": "B0", "pin_b": "E3"},