summaryrefslogtreecommitdiff
path: root/keyboards/yandrstudio/eau_r2
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2024-02-01 18:10:14 +0000
committerGitHub <noreply@github.com>2024-02-01 18:10:14 +0000
commit2f37a7854ddb0055eff7cb605492a57ff5061eb2 (patch)
tree95a990fb8cb1ec8b47c8760708d7541fa042f4ba /keyboards/yandrstudio/eau_r2
parent7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff)
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/yandrstudio/eau_r2')
-rw-r--r--keyboards/yandrstudio/eau_r2/config.h14
-rw-r--r--keyboards/yandrstudio/eau_r2/info.json3
2 files changed, 7 insertions, 10 deletions
diff --git a/keyboards/yandrstudio/eau_r2/config.h b/keyboards/yandrstudio/eau_r2/config.h
index 6985b4b8bb..aa9b295e02 100644
--- a/keyboards/yandrstudio/eau_r2/config.h
+++ b/keyboards/yandrstudio/eau_r2/config.h
@@ -15,13 +15,7 @@
*/
#pragma once
-#ifdef RGBLIGHT_ENABLE
-
-# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
-
-# define WS2812_PWM_DRIVER PWMD1
-# define WS2812_PWM_CHANNEL 1
-# define WS2812_DMA_STREAM STM32_DMA1_STREAM5
-# define WS2812_DMA_CHANNEL 5
-
-#endif
+#define WS2812_PWM_DRIVER PWMD1
+#define WS2812_PWM_CHANNEL 1
+#define WS2812_DMA_STREAM STM32_DMA1_STREAM5
+#define WS2812_DMA_CHANNEL 5
diff --git a/keyboards/yandrstudio/eau_r2/info.json b/keyboards/yandrstudio/eau_r2/info.json
index a1b5a0e9cf..c3aaf39e2d 100644
--- a/keyboards/yandrstudio/eau_r2/info.json
+++ b/keyboards/yandrstudio/eau_r2/info.json
@@ -30,6 +30,9 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
+ },
+ "default": {
+ "animation": "rainbow_mood"
}
},
"debounce": 8,