diff options
Diffstat (limited to 'keyboards/avalanche/v2')
-rw-r--r-- | keyboards/avalanche/v2/config.h | 7 | ||||
-rw-r--r-- | keyboards/avalanche/v2/info.json | 8 | ||||
-rw-r--r-- | keyboards/avalanche/v2/v2.c | 4 | ||||
-rw-r--r-- | keyboards/avalanche/v2/v2.h | 2 |
4 files changed, 8 insertions, 13 deletions
diff --git a/keyboards/avalanche/v2/config.h b/keyboards/avalanche/v2/config.h index 3978f581e1..5d7c1c2047 100644 --- a/keyboards/avalanche/v2/config.h +++ b/keyboards/avalanche/v2/config.h @@ -3,13 +3,6 @@ #pragma once -#define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } -#define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } - -#define DIODE_DIRECTION COL2ROW - -#define RGB_DI_PIN D3 - #define RGBLED_NUM 12 #define RGBLED_SPLIT { 6, 6 } #define RGBLIGHT_SPLIT diff --git a/keyboards/avalanche/v2/info.json b/keyboards/avalanche/v2/info.json index 7105fc1787..b7b7df5dff 100644 --- a/keyboards/avalanche/v2/info.json +++ b/keyboards/avalanche/v2/info.json @@ -8,11 +8,19 @@ "pid": "0x0002", "device_version": "0.0.2" }, + "matrix_pins": { + "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], + "rows": ["D4", "C6", "D7", "E6", "B4"] + }, + "diode_direction": "COL2ROW", "encoder": { "rotary": [ {"pin_a": "B5", "pin_b": "F4", "resolution": 2} ] }, + "ws2812": { + "pin": "D3" + }, "split": { "soft_serial_pin": "D2" }, diff --git a/keyboards/avalanche/v2/v2.c b/keyboards/avalanche/v2/v2.c deleted file mode 100644 index 1a0cff2e51..0000000000 --- a/keyboards/avalanche/v2/v2.c +++ /dev/null @@ -1,4 +0,0 @@ -// Copyright 2022 Vitaly Volkov (@vlkv) -// SPDX-License-Identifier: GPL-2.0-or-later - -#include "avalanche.h" diff --git a/keyboards/avalanche/v2/v2.h b/keyboards/avalanche/v2/v2.h index 6832becdf7..f8319c3ef4 100644 --- a/keyboards/avalanche/v2/v2.h +++ b/keyboards/avalanche/v2/v2.h @@ -3,8 +3,6 @@ #pragma once -#include "avalanche.h" - #include "quantum.h" #define L__ KC_NO |