From 2f37a7854ddb0055eff7cb605492a57ff5061eb2 Mon Sep 17 00:00:00 2001
From: Joel Challis
Date: Thu, 1 Feb 2024 18:10:14 +0000
Subject: Migrate lighting defaults to info.json (#22920)
---
keyboards/mtbkeys/mtb60/hotswap/config.h | 2 --
keyboards/mtbkeys/mtb60/hotswap/info.json | 3 +++
keyboards/mtbkeys/mtb60/solder/config.h | 2 --
keyboards/mtbkeys/mtb60/solder/info.json | 3 +++
4 files changed, 6 insertions(+), 4 deletions(-)
(limited to 'keyboards/mtbkeys')
diff --git a/keyboards/mtbkeys/mtb60/hotswap/config.h b/keyboards/mtbkeys/mtb60/hotswap/config.h
index 56a9edf0aa..19881718ef 100644
--- a/keyboards/mtbkeys/mtb60/hotswap/config.h
+++ b/keyboards/mtbkeys/mtb60/hotswap/config.h
@@ -17,8 +17,6 @@ along with this program. If not, see .
#pragma once
-# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL /* Set default RGB */
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/mtbkeys/mtb60/hotswap/info.json b/keyboards/mtbkeys/mtb60/hotswap/info.json
index deb6f6a0fe..554587e816 100644
--- a/keyboards/mtbkeys/mtb60/hotswap/info.json
+++ b/keyboards/mtbkeys/mtb60/hotswap/info.json
@@ -24,6 +24,9 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
+ },
+ "default": {
+ "animation": "rainbow_swirl"
}
},
"ws2812": {
diff --git a/keyboards/mtbkeys/mtb60/solder/config.h b/keyboards/mtbkeys/mtb60/solder/config.h
index 56a9edf0aa..19881718ef 100644
--- a/keyboards/mtbkeys/mtb60/solder/config.h
+++ b/keyboards/mtbkeys/mtb60/solder/config.h
@@ -17,8 +17,6 @@ along with this program. If not, see .
#pragma once
-# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL /* Set default RGB */
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/mtbkeys/mtb60/solder/info.json b/keyboards/mtbkeys/mtb60/solder/info.json
index 9fdca32a3e..dae43e6969 100644
--- a/keyboards/mtbkeys/mtb60/solder/info.json
+++ b/keyboards/mtbkeys/mtb60/solder/info.json
@@ -24,6 +24,9 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
+ },
+ "default": {
+ "animation": "rainbow_swirl"
}
},
"ws2812": {
--
cgit v1.2.3