diff options
author | Ryan <[email protected]> | 2023-06-24 17:13:18 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-24 17:13:18 +1000 |
commit | 6545eb64a0cc1797893c6782e78a3ecc68de729d (patch) | |
tree | 95934c15ef2acab0a9f3cc49c575fcb0af8d3b3e /keyboards/elephant42 | |
parent | 8093b13365864ec96192265242a9da44c36db798 (diff) | |
download | qmk_firmware-6545eb64a0cc1797893c6782e78a3ecc68de729d.tar.gz qmk_firmware-6545eb64a0cc1797893c6782e78a3ecc68de729d.zip |
Move `RGB_MATRIX_HUE/SAT/VAL/SPD_STEP` to data driven (#21354)
Diffstat (limited to 'keyboards/elephant42')
-rw-r--r-- | keyboards/elephant42/config.h | 4 | ||||
-rw-r--r-- | keyboards/elephant42/info.json | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/elephant42/config.h b/keyboards/elephant42/config.h index 60f5551a3b..0b24b63466 100644 --- a/keyboards/elephant42/config.h +++ b/keyboards/elephant42/config.h @@ -36,10 +36,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. # 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 341d197332..4c565f5327 100644 --- a/keyboards/elephant42/info.json +++ b/keyboards/elephant42/info.json @@ -9,7 +9,10 @@ "device_version": "0.0.1" }, "rgb_matrix": { - "driver": "WS2812" + "driver": "WS2812", + "sat_steps": 8, + "val_steps": 8, + "speed_steps": 8 }, "rgblight": { "led_count": 54, |