summaryrefslogtreecommitdiffstats
path: root/keyboards/avalanche
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/avalanche')
-rw-r--r--keyboards/avalanche/v2/config.h1
-rw-r--r--keyboards/avalanche/v2/info.json3
-rw-r--r--keyboards/avalanche/v3/config.h1
-rw-r--r--keyboards/avalanche/v3/info.json3
-rw-r--r--keyboards/avalanche/v4/config.h24
-rw-r--r--keyboards/avalanche/v4/info.json4
6 files changed, 9 insertions, 27 deletions
diff --git a/keyboards/avalanche/v2/config.h b/keyboards/avalanche/v2/config.h
index 5d7c1c2047..e460f21459 100644
--- a/keyboards/avalanche/v2/config.h
+++ b/keyboards/avalanche/v2/config.h
@@ -4,5 +4,4 @@
#pragma once
#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 92f02721de..c96839ee39 100644
--- a/keyboards/avalanche/v2/info.json
+++ b/keyboards/avalanche/v2/info.json
@@ -18,6 +18,9 @@
{"pin_a": "B5", "pin_b": "F4", "resolution": 2}
]
},
+ "rgblight": {
+ "split_count": [6, 6]
+ },
"ws2812": {
"pin": "D3"
},
diff --git a/keyboards/avalanche/v3/config.h b/keyboards/avalanche/v3/config.h
index c6042255e3..e460f21459 100644
--- a/keyboards/avalanche/v3/config.h
+++ b/keyboards/avalanche/v3/config.h
@@ -4,5 +4,4 @@
#pragma once
#define RGBLED_NUM 12
-#define RGBLED_SPLIT { 7, 7 }
#define RGBLIGHT_SPLIT
diff --git a/keyboards/avalanche/v3/info.json b/keyboards/avalanche/v3/info.json
index ed507485f5..4c8a8e4f89 100644
--- a/keyboards/avalanche/v3/info.json
+++ b/keyboards/avalanche/v3/info.json
@@ -21,6 +21,9 @@
"split": {
"soft_serial_pin": "D2"
},
+ "rgblight": {
+ "split_count": [7, 7]
+ },
"ws2812": {
"pin": "D3"
},
diff --git a/keyboards/avalanche/v4/config.h b/keyboards/avalanche/v4/config.h
index 51b7cb7537..37d139eaad 100644
--- a/keyboards/avalanche/v4/config.h
+++ b/keyboards/avalanche/v4/config.h
@@ -5,7 +5,6 @@
#ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 64
-# define RGBLED_SPLIT { 32, 32 }
# define RGBLIGHT_SPLIT
# define RGBLIGHT_HUE_STEP 10
# define RGBLIGHT_SAT_STEP 17
@@ -22,29 +21,6 @@
# define RGBLIGHT_EFFECT_KNIGHT
# define RGBLIGHT_EFFECT_SNAKE
# define RGBLIGHT_EFFECT_CHRISTMAS
-
-
-// RGB LED Conversion macro from physical array to electric array. This results in better looking animated effects.
-# define LED_LAYOUT( \
- /* LED matrix */ \
- L01, L02, L03, L04, L05, L06, L011, L012, L013, L014, L015, L016, \
- L11, L12, L13, L14, L15, L16, L111, L112, L113, L114, L115, L116, \
- L20, L21, L22, L23, L24, L25, L26, L211, L212, L213, L214, L215, L216, L217, \
- L31, L32, L33, L34, L35, L36, L37, L38, L39, L310, L311, L312, L313, L314, L315, L316, \
- L44, L45, L46, L47, L48, L49, L410, L411, L412, L413 )\
- { \
- /* left half - electrical wiring order */ \
- L47,L48,L38,L37,L36,L26,L16,L06,L05,L15,L25,L35,L46,L45,L34,L24,L14,L04,L03,L13,L23,L33,L44,L32,L22,L12,L02,L01,L11,L21,L31,L20, \
- /* right half - electrical wiring order */ \
- L410,L49,L39,L310,L311,L211,L111,L011,L012,L112,L212,L312,L411,L412,L313,L213,L113,L013,L014,L114,L214,L314,L413,L315,L215,L115,L015,L016,L116,L216,L316,L217 \
- }
-# define RGBLIGHT_LED_MAP LED_LAYOUT( \
- /* animation order. */ \
- 4, 8, 12, 17, 22, 27, 40, 45, 50, 54, 58, 62, \
- 3, 7, 11, 16, 21, 26, 39, 44, 49, 53, 57, 61, \
- 0, 2, 6, 10, 15, 20, 25, 38, 43, 48, 52, 56, 60, 63, \
- 1, 5, 9, 14, 19, 24, 29, 31, 33, 35, 37, 42, 47, 51, 55, 59, \
- 13, 18, 23, 28, 30, 32, 34, 36, 41, 46 )
#endif
#ifdef OLED_ENABLE
diff --git a/keyboards/avalanche/v4/info.json b/keyboards/avalanche/v4/info.json
index 235bb12220..10591c3129 100644
--- a/keyboards/avalanche/v4/info.json
+++ b/keyboards/avalanche/v4/info.json
@@ -25,7 +25,9 @@
"pin": "D3"
},
"rgblight": {
- "max_brightness": 100
+ "max_brightness": 100,
+ "led_map": [28, 30, 31, 29, 24, 25, 26, 27, 22, 21, 20, 19, 23, 18, 14, 15, 16, 17, 12, 11, 10, 9, 13, 5, 6, 7, 8, 4, 3, 2, 1, 0, 34, 32, 33, 35, 37, 38, 39, 40, 45, 44, 43, 42, 36, 41, 47, 48, 49, 50, 54, 53, 52, 51, 46, 55, 56, 57, 58, 62, 61, 60, 59, 63],
+ "split_count": [32, 32]
},
"processor": "atmega32u4",
"bootloader": "caterina",