diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-11 05:41:58 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-11 05:41:58 +1100 |
commit | e933e0411f442fa411d3d5ec488180fee241e2ef (patch) | |
tree | f091f00a1408d752389385ff793c2878ec99e368 /keyboards/wsk/gothic70 | |
parent | 1022afa6c24a64c78d1c9be99a695ff5335876f7 (diff) |
Move matrix config to info.json, part 5 (#20003)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/wsk/gothic70')
-rw-r--r-- | keyboards/wsk/gothic70/config.h | 9 | ||||
-rw-r--r-- | keyboards/wsk/gothic70/info.json | 5 |
2 files changed, 5 insertions, 9 deletions
diff --git a/keyboards/wsk/gothic70/config.h b/keyboards/wsk/gothic70/config.h index 8cfb2dcab9..de29eadb14 100644 --- a/keyboards/wsk/gothic70/config.h +++ b/keyboards/wsk/gothic70/config.h @@ -1,14 +1,5 @@ #pragma once - -/* key matrix pins */ - -#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 } -#define MATRIX_COL_PINS { F0, F1, E6, C7, C6, B6, D4, B1, B0, B7, B5, B4, D7, D6, B3 } - -/* COL2ROW, ROW2COL*/ -#define DIODE_DIRECTION COL2ROW - #define RGB_DI_PIN F4 #ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING diff --git a/keyboards/wsk/gothic70/info.json b/keyboards/wsk/gothic70/info.json index f7baad64c1..0fd4a6018d 100644 --- a/keyboards/wsk/gothic70/info.json +++ b/keyboards/wsk/gothic70/info.json @@ -8,6 +8,11 @@ "pid": "0x63CC", "device_version": "0.0.1" }, + "matrix_pins": { + "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B0", "B7", "B5", "B4", "D7", "D6", "B3"], + "rows": ["D0", "D1", "D2", "D3", "D5"] + }, + "diode_direction": "COL2ROW", "processor": "atmega32u4", "bootloader": "atmel-dfu", "layouts": { |