summaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/baguette66
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-24 17:13:18 +1000
committerGitHub <noreply@github.com>2023-06-24 17:13:18 +1000
commit6545eb64a0cc1797893c6782e78a3ecc68de729d (patch)
tree95934c15ef2acab0a9f3cc49c575fcb0af8d3b3e /keyboards/kbdfans/baguette66
parent8093b13365864ec96192265242a9da44c36db798 (diff)
Move `RGB_MATRIX_HUE/SAT/VAL/SPD_STEP` to data driven (#21354)
Diffstat (limited to 'keyboards/kbdfans/baguette66')
-rw-r--r--keyboards/kbdfans/baguette66/rgb/config.h4
-rw-r--r--keyboards/kbdfans/baguette66/rgb/info.json5
2 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/kbdfans/baguette66/rgb/config.h b/keyboards/kbdfans/baguette66/rgb/config.h
index c495f44266..78802b19f9 100644
--- a/keyboards/kbdfans/baguette66/rgb/config.h
+++ b/keyboards/kbdfans/baguette66/rgb/config.h
@@ -61,7 +61,3 @@
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL
-#define RGB_MATRIX_HUE_STEP 8
-#define RGB_MATRIX_SAT_STEP 8
-#define RGB_MATRIX_VAL_STEP 8
-#define RGB_MATRIX_SPD_STEP 10
diff --git a/keyboards/kbdfans/baguette66/rgb/info.json b/keyboards/kbdfans/baguette66/rgb/info.json
index 32a661a70b..9ac27f950a 100644
--- a/keyboards/kbdfans/baguette66/rgb/info.json
+++ b/keyboards/kbdfans/baguette66/rgb/info.json
@@ -14,7 +14,10 @@
"pin": "E6"
},
"rgb_matrix": {
- "driver": "WS2812"
+ "driver": "WS2812",
+ "sat_steps": 8,
+ "val_steps": 8,
+ "speed_steps": 10
},
"matrix_pins": {
"cols": ["C6", "C7", "F7", "F6", "B0", "B1", "B2", "B3", "D0", "D1", "D2", "D3", "D5", "D4", "D6"],