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/tunks | |
parent | 76cc7fe109d66c1e0ac16b27b2f691e7d55792d3 (diff) |
Move matrix config to info.json, part 3 (#19991)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/tunks')
-rw-r--r-- | keyboards/tunks/ergo33/config.h | 11 | ||||
-rw-r--r-- | keyboards/tunks/ergo33/info.json | 5 |
2 files changed, 5 insertions, 11 deletions
diff --git a/keyboards/tunks/ergo33/config.h b/keyboards/tunks/ergo33/config.h index 04db2f1665..a1ffa98f25 100644 --- a/keyboards/tunks/ergo33/config.h +++ b/keyboards/tunks/ergo33/config.h @@ -16,17 +16,6 @@ #pragma once - -/* - * Keyboard Matrix Assignments - * COLS: AVR pins used for columns, left to right - * ROWS: AVR pins used for rows, top to bottom -*/ -#define MATRIX_ROW_PINS { F0, F1, B5, B4, D7 } -#define MATRIX_COL_PINS { F4, F5, F6, F7, C7, C6, B6 } - -#define DIODE_DIRECTION COL2ROW - /* Underglow + top RGB configuration */ #define RGB_DI_PIN D4 #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/tunks/ergo33/info.json b/keyboards/tunks/ergo33/info.json index 1495d5137a..cdf10962dc 100644 --- a/keyboards/tunks/ergo33/info.json +++ b/keyboards/tunks/ergo33/info.json @@ -7,6 +7,11 @@ "pid": "0xA0A1", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F4", "F5", "F6", "F7", "C7", "C6", "B6"], + "rows": ["F0", "F1", "B5", "B4", "D7"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "D5", "pin_b": "D3"} |