summaryrefslogtreecommitdiff
path: root/keyboards/yandrstudio/nightstar75
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/nightstar75
parent7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff)
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/yandrstudio/nightstar75')
-rw-r--r--keyboards/yandrstudio/nightstar75/config.h16
-rw-r--r--keyboards/yandrstudio/nightstar75/info.json7
2 files changed, 13 insertions, 10 deletions
diff --git a/keyboards/yandrstudio/nightstar75/config.h b/keyboards/yandrstudio/nightstar75/config.h
index 98480b2687..4d5c662999 100644
--- a/keyboards/yandrstudio/nightstar75/config.h
+++ b/keyboards/yandrstudio/nightstar75/config.h
@@ -15,14 +15,10 @@
*/
#pragma once
-# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_MOOD
+#define RGBLIGHT_LAYERS_RETAIN_VAL
-# define RGBLIGHT_LAYERS
-# define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF
-# define RGBLIGHT_LAYERS_RETAIN_VAL
-
-# define WS2812_PWM_DRIVER PWMD3 // default: PWMD2
-# define WS2812_PWM_CHANNEL 2 // default: 2
-# define WS2812_PWM_PAL_MODE 2
-# define WS2812_DMA_STREAM STM32_DMA1_STREAM3
-# define WS2812_DMA_CHANNEL 3
+#define WS2812_PWM_DRIVER PWMD3 // default: PWMD2
+#define WS2812_PWM_CHANNEL 2 // default: 2
+#define WS2812_PWM_PAL_MODE 2
+#define WS2812_DMA_STREAM STM32_DMA1_STREAM3
+#define WS2812_DMA_CHANNEL 3
diff --git a/keyboards/yandrstudio/nightstar75/info.json b/keyboards/yandrstudio/nightstar75/info.json
index 2bf8cd36b3..956016a7e6 100644
--- a/keyboards/yandrstudio/nightstar75/info.json
+++ b/keyboards/yandrstudio/nightstar75/info.json
@@ -24,6 +24,13 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
+ },
+ "default": {
+ "animation": "rainbow_mood"
+ },
+ "layers": {
+ "enabled": true,
+ "override_rgb": true
}
},
"matrix_pins": {