summaryrefslogtreecommitdiff
path: root/keyboards/0xcb
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/0xcb
parent7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff)
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/0xcb')
-rw-r--r--keyboards/0xcb/1337/config.h11
-rw-r--r--keyboards/0xcb/1337/info.json5
2 files changed, 7 insertions, 9 deletions
diff --git a/keyboards/0xcb/1337/config.h b/keyboards/0xcb/1337/config.h
index 9527d6abae..5791b324b6 100644
--- a/keyboards/0xcb/1337/config.h
+++ b/keyboards/0xcb/1337/config.h
@@ -16,15 +16,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
-// clang-format off
-
- /* default setup after eeprom reset */
- #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2
- #define RGBLIGHT_DEFAULT_HUE 152
- #define RGBLIGHT_DEFAULT_SAT 232
- #define RGBLIGHT_DEFAULT_VAR 255
- #define RGBLIGHT_DEFAULT_SPD 2
-// clang-format on
+/* default setup after eeprom reset */
+#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_EFFECT_BREATHING + 2
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/0xcb/1337/info.json b/keyboards/0xcb/1337/info.json
index 30b806aedc..d492f8e3be 100644
--- a/keyboards/0xcb/1337/info.json
+++ b/keyboards/0xcb/1337/info.json
@@ -40,6 +40,11 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
+ },
+ "default": {
+ "hue": 152,
+ "sat": 232,
+ "speed": 2
}
},
"ws2812": {