summaryrefslogtreecommitdiff
path: root/keyboards/elephant42
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/elephant42')
-rw-r--r--keyboards/elephant42/config.h13
-rw-r--r--keyboards/elephant42/info.json11
2 files changed, 11 insertions, 13 deletions
diff --git a/keyboards/elephant42/config.h b/keyboards/elephant42/config.h
index dc1f568fc4..e08a3bc4e4 100644
--- a/keyboards/elephant42/config.h
+++ b/keyboards/elephant42/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-# define RGBLED_SPLIT { 27, 27 }
-# define RGBLED_NUM 54 // backlight x42 + underglow x12
-# define RGBLIGHT_HUE_STEP 8
-# define RGBLIGHT_SAT_STEP 8
-# define RGBLIGHT_VAL_STEP 8
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
@@ -35,13 +30,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGB_MATRIX_ENABLE
# define SPLIT_TRANSPORT_MIRROR
-# define RGB_MATRIX_LED_COUNT RGBLED_NUM
-# define RGB_MATRIX_SPLIT RGBLED_SPLIT
+# define RGB_MATRIX_LED_COUNT 54
+# define RGB_MATRIX_SPLIT { 27, 27 }
# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 170
-# define RGB_MATRIX_HUE_STEP RGBLIGHT_HUE_STEP
-# define RGB_MATRIX_SAT_STEP RGBLIGHT_SAT_STEP
-# define RGB_MATRIX_VAL_STEP RGBLIGHT_VAL_STEP
-# define RGB_MATRIX_SPD_STEP 8
#endif
#ifndef OLED_FONT_H
diff --git a/keyboards/elephant42/info.json b/keyboards/elephant42/info.json
index 8c44408055..005735556b 100644
--- a/keyboards/elephant42/info.json
+++ b/keyboards/elephant42/info.json
@@ -9,10 +9,17 @@
"device_version": "0.0.1"
},
"rgb_matrix": {
- "driver": "WS2812"
+ "driver": "WS2812",
+ "sat_steps": 8,
+ "val_steps": 8,
+ "speed_steps": 8
},
"rgblight": {
- "max_brightness": 170
+ "saturation_steps": 8,
+ "brightness_steps": 8,
+ "led_count": 54,
+ "max_brightness": 170,
+ "split_count": [27, 27]
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3"],