diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:34:34 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:34:34 +1100 |
commit | ace372d90de13dafc815df5d8049497cb351b69b (patch) | |
tree | 0eb4793443956fbc60a1cfca5c1f1e556422ce66 /keyboards/edinburgh41 | |
parent | 76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (diff) |
Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/edinburgh41')
-rw-r--r-- | keyboards/edinburgh41/config.h | 8 | ||||
-rw-r--r-- | keyboards/edinburgh41/info.json | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/edinburgh41/config.h b/keyboards/edinburgh41/config.h index 2f65982579..16cca4e830 100644 --- a/keyboards/edinburgh41/config.h +++ b/keyboards/edinburgh41/config.h @@ -3,14 +3,6 @@ #pragma once - -#define MATRIX_ROW_PINS \ - { F4, F5, F6, F7, B1, B3, B2 } -#define MATRIX_COL_PINS \ - { D1, D4, C6, D7, E6, B4 } - -#define DIODE_DIRECTION COL2ROW - // Underglow LED settings #define RGB_DI_PIN D0 diff --git a/keyboards/edinburgh41/info.json b/keyboards/edinburgh41/info.json index 6a8d8b4bf9..5c7ac53a85 100644 --- a/keyboards/edinburgh41/info.json +++ b/keyboards/edinburgh41/info.json @@ -10,6 +10,11 @@ "pid": "0x0000", "vid": "0xFEED" }, + "matrix_pins": { + "cols": ["D1", "D4", "C6", "D7", "E6", "B4"], + "rows": ["F4", "F5", "F6", "F7", "B1", "B3", "B2"] + }, + "diode_direction": "COL2ROW", "layouts": { "LAYOUT": { "layout": [ |