diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 00:00:24 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 00:00:24 +1100 |
commit | 9e64300e67720a5468c2585391250ca5579b311b (patch) | |
tree | d8c471bb33cd5d0e38e90d925d69b3c6b3cb2d59 /keyboards/durgod/k310 | |
parent | dd086a51d82a574a55eb3b89e8943301d72296f3 (diff) |
Move matrix config to info.json, part 4 (#20001)
Diffstat (limited to 'keyboards/durgod/k310')
-rw-r--r-- | keyboards/durgod/k310/base/config.h | 6 | ||||
-rw-r--r-- | keyboards/durgod/k310/base/info.json | 5 |
2 files changed, 5 insertions, 6 deletions
diff --git a/keyboards/durgod/k310/base/config.h b/keyboards/durgod/k310/base/config.h index 20885ecb29..9d84d39156 100644 --- a/keyboards/durgod/k310/base/config.h +++ b/keyboards/durgod/k310/base/config.h @@ -20,12 +20,6 @@ #define WAIT_US_TIMER GPTD3 -#define MATRIX_ROW_PINS { A0, A1, A2, A3, A4, A5, A6, A7 } -#define MATRIX_COL_PINS { C4, C5, B0, B1, B2, B10, B11, B12, B13, B14, B15, C6, C7, C10, C11, C12 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION ROW2COL - // Dynamic EEPROM // Something sensible or else VIA may crash // Users may enable more if they wish diff --git a/keyboards/durgod/k310/base/info.json b/keyboards/durgod/k310/base/info.json index 7e5f9aa8d3..6047c40fc0 100644 --- a/keyboards/durgod/k310/base/info.json +++ b/keyboards/durgod/k310/base/info.json @@ -1,4 +1,9 @@ { + "matrix_pins": { + "cols": ["C4", "C5", "B0", "B1", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "C6", "C7", "C10", "C11", "C12"], + "rows": ["A0", "A1", "A2", "A3", "A4", "A5", "A6", "A7"] + }, + "diode_direction": "ROW2COL", "indicators": { "caps_lock": "C9", "num_lock": "C8", |