From 2f37a7854ddb0055eff7cb605492a57ff5061eb2 Mon Sep 17 00:00:00 2001
From: Joel Challis <git@zvecr.com>
Date: Thu, 1 Feb 2024 18:10:14 +0000
Subject: Migrate lighting defaults to info.json (#22920)

---
 keyboards/mode/m60h/config.h    | 2 --
 keyboards/mode/m60h/info.json   | 3 +++
 keyboards/mode/m60h_f/config.h  | 2 --
 keyboards/mode/m60h_f/info.json | 3 +++
 keyboards/mode/m60s/config.h    | 2 --
 keyboards/mode/m60s/info.json   | 3 +++
 keyboards/mode/m75s/config.h    | 1 -
 7 files changed, 9 insertions(+), 7 deletions(-)

(limited to 'keyboards/mode')

diff --git a/keyboards/mode/m60h/config.h b/keyboards/mode/m60h/config.h
index 04fda276e6..f984cf28de 100644
--- a/keyboards/mode/m60h/config.h
+++ b/keyboards/mode/m60h/config.h
@@ -3,8 +3,6 @@
 
 #pragma once
 
-#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
-
 #define WS2812_PWM_DRIVER PWMD4
 #define WS2812_PWM_CHANNEL 4
 #define WS2812_DMA_STREAM STM32_DMA1_STREAM6
diff --git a/keyboards/mode/m60h/info.json b/keyboards/mode/m60h/info.json
index 5fee979149..b33ea3a9c3 100644
--- a/keyboards/mode/m60h/info.json
+++ b/keyboards/mode/m60h/info.json
@@ -31,6 +31,9 @@
             "static_gradient": true,
             "twinkle": true
         },
+        "default": {
+            "animation": "rainbow_swirl"
+        },
         "driver": "ws2812",
         "led_count": 20,
         "max_brightness": 120,
diff --git a/keyboards/mode/m60h_f/config.h b/keyboards/mode/m60h_f/config.h
index 04fda276e6..f984cf28de 100644
--- a/keyboards/mode/m60h_f/config.h
+++ b/keyboards/mode/m60h_f/config.h
@@ -3,8 +3,6 @@
 
 #pragma once
 
-#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
-
 #define WS2812_PWM_DRIVER PWMD4
 #define WS2812_PWM_CHANNEL 4
 #define WS2812_DMA_STREAM STM32_DMA1_STREAM6
diff --git a/keyboards/mode/m60h_f/info.json b/keyboards/mode/m60h_f/info.json
index f4bcddfe75..014472bc68 100644
--- a/keyboards/mode/m60h_f/info.json
+++ b/keyboards/mode/m60h_f/info.json
@@ -31,6 +31,9 @@
             "static_gradient": true,
             "twinkle": true
         },
+        "default": {
+            "animation": "rainbow_swirl"
+        },
         "driver": "ws2812",
         "led_count": 20,
         "max_brightness": 120,
diff --git a/keyboards/mode/m60s/config.h b/keyboards/mode/m60s/config.h
index 04fda276e6..f984cf28de 100644
--- a/keyboards/mode/m60s/config.h
+++ b/keyboards/mode/m60s/config.h
@@ -3,8 +3,6 @@
 
 #pragma once
 
-#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
-
 #define WS2812_PWM_DRIVER PWMD4
 #define WS2812_PWM_CHANNEL 4
 #define WS2812_DMA_STREAM STM32_DMA1_STREAM6
diff --git a/keyboards/mode/m60s/info.json b/keyboards/mode/m60s/info.json
index 368f2fff82..6a03219427 100644
--- a/keyboards/mode/m60s/info.json
+++ b/keyboards/mode/m60s/info.json
@@ -31,6 +31,9 @@
             "static_gradient": true,
             "twinkle": true
         },
+        "default": {
+            "animation": "rainbow_swirl"
+        },
         "driver": "ws2812",
         "led_count": 20,
         "max_brightness": 120,
diff --git a/keyboards/mode/m75s/config.h b/keyboards/mode/m75s/config.h
index 4d3a7d5ca4..5672c10fc5 100644
--- a/keyboards/mode/m75s/config.h
+++ b/keyboards/mode/m75s/config.h
@@ -17,6 +17,5 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 #pragma once
 
-#define BACKLIGHT_DEFAULT_LEVEL 20
 #define BACKLIGHT_PWM_DRIVER PWMD3
 #define BACKLIGHT_PWM_CHANNEL 1
-- 
cgit v1.2.3