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/avalanche | |
| parent | 1022afa6c24a64c78d1c9be99a695ff5335876f7 (diff) | |
Move matrix config to info.json, part 5 (#20003)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/avalanche')
| -rw-r--r-- | keyboards/avalanche/v1/config.h | 9 | ||||
| -rw-r--r-- | keyboards/avalanche/v1/info.json | 5 | ||||
| -rw-r--r-- | keyboards/avalanche/v2/config.h | 5 | ||||
| -rw-r--r-- | keyboards/avalanche/v2/info.json | 5 | ||||
| -rw-r--r-- | keyboards/avalanche/v3/config.h | 5 | ||||
| -rw-r--r-- | keyboards/avalanche/v3/info.json | 5 | ||||
| -rw-r--r-- | keyboards/avalanche/v4/config.h | 5 | ||||
| -rw-r--r-- | keyboards/avalanche/v4/info.json | 5 |
8 files changed, 20 insertions, 24 deletions
diff --git a/keyboards/avalanche/v1/config.h b/keyboards/avalanche/v1/config.h deleted file mode 100644 index 940476e03a..0000000000 --- a/keyboards/avalanche/v1/config.h +++ /dev/null | |||
| @@ -1,9 +0,0 @@ | |||
| 1 | // Copyright 2022 Vitaly Volkov (@vlkv) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } | ||
| 7 | #define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6 } | ||
| 8 | |||
| 9 | #define DIODE_DIRECTION COL2ROW | ||
diff --git a/keyboards/avalanche/v1/info.json b/keyboards/avalanche/v1/info.json index 518a0c0742..e8ce03904f 100644 --- a/keyboards/avalanche/v1/info.json +++ b/keyboards/avalanche/v1/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0001", | 8 | "pid": "0x0001", |
| 9 | "device_version": "0.0.1" | 9 | "device_version": "0.0.1" |
| 10 | }, | 10 | }, |
| 11 | "matrix_pins": { | ||
| 12 | "cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"], | ||
| 13 | "rows": ["D4", "C6", "D7", "E6", "B4"] | ||
| 14 | }, | ||
| 15 | "diode_direction": "COL2ROW", | ||
| 11 | "split": { | 16 | "split": { |
| 12 | "soft_serial_pin": "D2" | 17 | "soft_serial_pin": "D2" |
| 13 | }, | 18 | }, |
diff --git a/keyboards/avalanche/v2/config.h b/keyboards/avalanche/v2/config.h index 3978f581e1..1b6ce7be90 100644 --- a/keyboards/avalanche/v2/config.h +++ b/keyboards/avalanche/v2/config.h | |||
| @@ -3,11 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } | ||
| 7 | #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } | ||
| 8 | |||
| 9 | #define DIODE_DIRECTION COL2ROW | ||
| 10 | |||
| 11 | #define RGB_DI_PIN D3 | 6 | #define RGB_DI_PIN D3 |
| 12 | 7 | ||
| 13 | #define RGBLED_NUM 12 | 8 | #define RGBLED_NUM 12 |
diff --git a/keyboards/avalanche/v2/info.json b/keyboards/avalanche/v2/info.json index 7105fc1787..3289a95faf 100644 --- a/keyboards/avalanche/v2/info.json +++ b/keyboards/avalanche/v2/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0002", | 8 | "pid": "0x0002", |
| 9 | "device_version": "0.0.2" | 9 | "device_version": "0.0.2" |
| 10 | }, | 10 | }, |
| 11 | "matrix_pins": { | ||
| 12 | "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], | ||
| 13 | "rows": ["D4", "C6", "D7", "E6", "B4"] | ||
| 14 | }, | ||
| 15 | "diode_direction": "COL2ROW", | ||
| 11 | "encoder": { | 16 | "encoder": { |
| 12 | "rotary": [ | 17 | "rotary": [ |
| 13 | {"pin_a": "B5", "pin_b": "F4", "resolution": 2} | 18 | {"pin_a": "B5", "pin_b": "F4", "resolution": 2} |
diff --git a/keyboards/avalanche/v3/config.h b/keyboards/avalanche/v3/config.h index efe0c27932..699a7c88fa 100644 --- a/keyboards/avalanche/v3/config.h +++ b/keyboards/avalanche/v3/config.h | |||
| @@ -3,11 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } | ||
| 7 | #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } | ||
| 8 | |||
| 9 | #define DIODE_DIRECTION COL2ROW | ||
| 10 | |||
| 11 | #define RGB_DI_PIN D3 | 6 | #define RGB_DI_PIN D3 |
| 12 | 7 | ||
| 13 | #define RGBLED_NUM 12 | 8 | #define RGBLED_NUM 12 |
diff --git a/keyboards/avalanche/v3/info.json b/keyboards/avalanche/v3/info.json index 70ffcc9efc..27ae1d8a13 100644 --- a/keyboards/avalanche/v3/info.json +++ b/keyboards/avalanche/v3/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0003", | 8 | "pid": "0x0003", |
| 9 | "device_version": "0.0.3" | 9 | "device_version": "0.0.3" |
| 10 | }, | 10 | }, |
| 11 | "matrix_pins": { | ||
| 12 | "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], | ||
| 13 | "rows": ["D4", "C6", "D7", "E6", "B4"] | ||
| 14 | }, | ||
| 15 | "diode_direction": "COL2ROW", | ||
| 11 | "encoder": { | 16 | "encoder": { |
| 12 | "rotary": [ | 17 | "rotary": [ |
| 13 | {"pin_a": "B5", "pin_b": "F4", "resolution": 2} | 18 | {"pin_a": "B5", "pin_b": "F4", "resolution": 2} |
diff --git a/keyboards/avalanche/v4/config.h b/keyboards/avalanche/v4/config.h index 86dff022e0..10d9ca889a 100644 --- a/keyboards/avalanche/v4/config.h +++ b/keyboards/avalanche/v4/config.h | |||
| @@ -3,11 +3,6 @@ | |||
| 3 | 3 | ||
| 4 | #pragma once | 4 | #pragma once |
| 5 | 5 | ||
| 6 | #define MATRIX_ROW_PINS { D4, C6, D7, E6, B4 } | ||
| 7 | #define MATRIX_COL_PINS { F5, F6, F7, B1, B3, B2, B6 } | ||
| 8 | |||
| 9 | #define DIODE_DIRECTION COL2ROW | ||
| 10 | |||
| 11 | #ifdef RGBLIGHT_ENABLE | 6 | #ifdef RGBLIGHT_ENABLE |
| 12 | # define RGB_DI_PIN D3 | 7 | # define RGB_DI_PIN D3 |
| 13 | # define RGBLED_NUM 64 | 8 | # define RGBLED_NUM 64 |
diff --git a/keyboards/avalanche/v4/info.json b/keyboards/avalanche/v4/info.json index 5b31b5ca11..93207e83b1 100644 --- a/keyboards/avalanche/v4/info.json +++ b/keyboards/avalanche/v4/info.json | |||
| @@ -8,6 +8,11 @@ | |||
| 8 | "pid": "0x0004", | 8 | "pid": "0x0004", |
| 9 | "device_version": "0.0.4" | 9 | "device_version": "0.0.4" |
| 10 | }, | 10 | }, |
| 11 | "matrix_pins": { | ||
| 12 | "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], | ||
| 13 | "rows": ["D4", "C6", "D7", "E6", "B4"] | ||
| 14 | }, | ||
| 15 | "diode_direction": "COL2ROW", | ||
| 11 | "encoder": { | 16 | "encoder": { |
| 12 | "rotary": [ | 17 | "rotary": [ |
| 13 | {"pin_a": "B5", "pin_b": "F4", "resolution": 2} | 18 | {"pin_a": "B5", "pin_b": "F4", "resolution": 2} |
