diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-06 09:53:52 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-05 22:53:52 +0000 |
commit | 23c365b023e409885e6f201f12df56e5145dde47 (patch) | |
tree | 062e72be726939d5f6ddda944facb423bbf386cf /keyboards/yandrstudio/nz67v2 | |
parent | b34d51d08d7083fc790db2562a4d39890f34886f (diff) |
Move matrix config to info.json, part 1 (#19985)
Diffstat (limited to 'keyboards/yandrstudio/nz67v2')
-rw-r--r-- | keyboards/yandrstudio/nz67v2/config.h | 8 | ||||
-rw-r--r-- | keyboards/yandrstudio/nz67v2/info.json | 5 |
2 files changed, 5 insertions, 8 deletions
diff --git a/keyboards/yandrstudio/nz67v2/config.h b/keyboards/yandrstudio/nz67v2/config.h index a3d9bb74c5..9a23a64ae2 100644 --- a/keyboards/yandrstudio/nz67v2/config.h +++ b/keyboards/yandrstudio/nz67v2/config.h @@ -16,14 +16,6 @@ #pragma once - -/* key matrix pins */ -#define MATRIX_COL_PINS { B9, A3, A4, A5, A6, A7, B0, B2, B10, B11, B12, B13, B14, B15, A8 } -#define MATRIX_ROW_PINS { B3, B4, B6, B7, B8 } - -/* COL2ROW or ROW2COL */ -#define DIODE_DIRECTION COL2ROW - #define TAP_CODE_DELAY 15 /* RGB Matrix */ diff --git a/keyboards/yandrstudio/nz67v2/info.json b/keyboards/yandrstudio/nz67v2/info.json index ed06374976..90ef04d125 100644 --- a/keyboards/yandrstudio/nz67v2/info.json +++ b/keyboards/yandrstudio/nz67v2/info.json @@ -6,6 +6,11 @@ "pid": "0xAA83", "device_version": "1.0.0" }, + "matrix_pins": { + "cols": ["B9", "A3", "A4", "A5", "A6", "A7", "B0", "B2", "B10", "B11", "B12", "B13", "B14", "B15", "A8"], + "rows": ["B3", "B4", "B6", "B7", "B8"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "A9", "pin_b": "A10"} |