summaryrefslogtreecommitdiff
path: root/keyboards/dztech
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/dztech
parent7d5b4adc502df7cd9e20ba96027fbfe728171b2e (diff)
Migrate lighting defaults to info.json (#22920)
Diffstat (limited to 'keyboards/dztech')
-rw-r--r--keyboards/dztech/duo_s/config.h1
-rw-r--r--keyboards/dztech/duo_s/info.json3
-rw-r--r--keyboards/dztech/endless80/config.h1
-rw-r--r--keyboards/dztech/endless80/info.json3
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/dztech/duo_s/config.h b/keyboards/dztech/duo_s/config.h
index 361706e576..14d66caf12 100644
--- a/keyboards/dztech/duo_s/config.h
+++ b/keyboards/dztech/duo_s/config.h
@@ -17,7 +17,6 @@
#pragma once
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6)
-#define RGBLIGHT_DEFAULT_SPD 15
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/dztech/duo_s/info.json b/keyboards/dztech/duo_s/info.json
index 0277675018..ef5af799be 100644
--- a/keyboards/dztech/duo_s/info.json
+++ b/keyboards/dztech/duo_s/info.json
@@ -25,6 +25,9 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
+ },
+ "default": {
+ "speed": 15
}
},
"ws2812": {
diff --git a/keyboards/dztech/endless80/config.h b/keyboards/dztech/endless80/config.h
index a8851d8913..8d6b35eae4 100644
--- a/keyboards/dztech/endless80/config.h
+++ b/keyboards/dztech/endless80/config.h
@@ -16,4 +16,3 @@
#pragma once
#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6)
-#define RGBLIGHT_DEFAULT_SPD 10
diff --git a/keyboards/dztech/endless80/info.json b/keyboards/dztech/endless80/info.json
index 2391faf495..4572b091fa 100644
--- a/keyboards/dztech/endless80/info.json
+++ b/keyboards/dztech/endless80/info.json
@@ -37,6 +37,9 @@
"rgb_test": true,
"alternating": true,
"twinkle": true
+ },
+ "default": {
+ "speed": 10
}
},
"processor": "atmega32u4",