diff options
Diffstat (limited to 'keyboards/avalanche/v4')
-rw-r--r-- | keyboards/avalanche/v4/config.h | 6 | ||||
-rw-r--r-- | keyboards/avalanche/v4/info.json | 8 | ||||
-rw-r--r-- | keyboards/avalanche/v4/v4.c | 2 | ||||
-rw-r--r-- | keyboards/avalanche/v4/v4.h | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/keyboards/avalanche/v4/config.h b/keyboards/avalanche/v4/config.h index 86dff022e0..9279289ddf 100644 --- a/keyboards/avalanche/v4/config.h +++ b/keyboards/avalanche/v4/config.h @@ -3,13 +3,7 @@ #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 - #ifdef RGBLIGHT_ENABLE -# define RGB_DI_PIN D3 # define RGBLED_NUM 64 # define RGBLED_SPLIT { 32, 32 } # define RGBLIGHT_SPLIT diff --git a/keyboards/avalanche/v4/info.json b/keyboards/avalanche/v4/info.json index 5b31b5ca11..786d11588a 100644 --- a/keyboards/avalanche/v4/info.json +++ b/keyboards/avalanche/v4/info.json @@ -8,6 +8,11 @@ "pid": "0x0004", "device_version": "0.0.4" }, + "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} @@ -16,6 +21,9 @@ "split": { "soft_serial_pin": "D2" }, + "ws2812": { + "pin": "D3" + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/avalanche/v4/v4.c b/keyboards/avalanche/v4/v4.c index 69c64fc53c..e5a651ce4a 100644 --- a/keyboards/avalanche/v4/v4.c +++ b/keyboards/avalanche/v4/v4.c @@ -1,7 +1,7 @@ // Copyright 2022 Vitaly Volkov (@vlkv) // SPDX-License-Identifier: GPL-2.0-or-later -#include "avalanche.h" +#include "v4.h" #ifdef OLED_ENABLE oled_rotation_t oled_init_kb(oled_rotation_t rotation) { diff --git a/keyboards/avalanche/v4/v4.h b/keyboards/avalanche/v4/v4.h index fde80607b2..426f979e9b 100644 --- a/keyboards/avalanche/v4/v4.h +++ b/keyboards/avalanche/v4/v4.h @@ -3,8 +3,6 @@ #pragma once -#include "avalanche.h" - #include "quantum.h" #define L__ KC_NO |