aboutsummaryrefslogtreecommitdiff
path: root/keyboards/matrix/cain_re
diff options
context:
space:
mode:
authorRyan <[email protected]>2023-06-24 17:37:54 +1000
committerGitHub <[email protected]>2023-06-24 17:37:54 +1000
commit4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe (patch)
treecf48a8728411d2ad4a00422edad87a26288a95ec /keyboards/matrix/cain_re
parent6545eb64a0cc1797893c6782e78a3ecc68de729d (diff)
downloadqmk_firmware-4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe.tar.gz
qmk_firmware-4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe.zip
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <[email protected]>
Diffstat (limited to 'keyboards/matrix/cain_re')
-rw-r--r--keyboards/matrix/cain_re/config.h4
-rw-r--r--keyboards/matrix/cain_re/info.json2
2 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/matrix/cain_re/config.h b/keyboards/matrix/cain_re/config.h
index b7ae408242..9555d0962f 100644
--- a/keyboards/matrix/cain_re/config.h
+++ b/keyboards/matrix/cain_re/config.h
@@ -30,10 +30,6 @@
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-#define RGBLIGHT_HUE_STEP 8
-#define RGBLIGHT_SAT_STEP 8
-#define RGBLIGHT_VAL_STEP 8
-
#define CAPS_PIN D3
#define NUM_PIN F7
#define SCROLL_PIN B0
diff --git a/keyboards/matrix/cain_re/info.json b/keyboards/matrix/cain_re/info.json
index b2ceda7e65..f3d0aa4179 100644
--- a/keyboards/matrix/cain_re/info.json
+++ b/keyboards/matrix/cain_re/info.json
@@ -9,6 +9,8 @@
"device_version": "0.0.1"
},
"rgblight": {
+ "saturation_steps": 8,
+ "brightness_steps": 8,
"led_count": 14,
"sleep": true,
"led_map": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 1, 2, 3]