summaryrefslogtreecommitdiff
path: root/keyboards/do60
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-24 17:37:54 +1000
committerGitHub <noreply@github.com>2023-06-24 17:37:54 +1000
commit4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe (patch)
treecf48a8728411d2ad4a00422edad87a26288a95ec /keyboards/do60
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/do60')
-rw-r--r--keyboards/do60/config.h3
-rw-r--r--keyboards/do60/info.json3
2 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/do60/config.h b/keyboards/do60/config.h
index 8452d7dcee..16b0a506b7 100644
--- a/keyboards/do60/config.h
+++ b/keyboards/do60/config.h
@@ -29,9 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLIGHT_HUE_STEP 10
-#define RGBLIGHT_SAT_STEP 15
-#define RGBLIGHT_VAL_STEP 15
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/do60/info.json b/keyboards/do60/info.json
index 21d10f4b9e..2b2b4aaa3b 100644
--- a/keyboards/do60/info.json
+++ b/keyboards/do60/info.json
@@ -22,6 +22,9 @@
"on_state": 0
},
"rgblight": {
+ "hue_steps": 10,
+ "saturation_steps": 15,
+ "brightness_steps": 15,
"led_count": 20
},
"ws2812": {