summaryrefslogtreecommitdiff
path: root/keyboards/blockboy
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/blockboy
parent8093b13365864ec96192265242a9da44c36db798 (diff)
Move `RGB_MATRIX_HUE/SAT/VAL/SPD_STEP` to data driven (#21354)
Diffstat (limited to 'keyboards/blockboy')
-rw-r--r--keyboards/blockboy/ac980mini/config.h4
-rw-r--r--keyboards/blockboy/ac980mini/info.json5
2 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/blockboy/ac980mini/config.h b/keyboards/blockboy/ac980mini/config.h
index e9b841acbe..b98cb7964f 100644
--- a/keyboards/blockboy/ac980mini/config.h
+++ b/keyboards/blockboy/ac980mini/config.h
@@ -15,10 +15,6 @@
// # define RGB_MATRIX_LED_PROCESS_LIMIT (RGB_MATRIX_LED_COUNT + 4) / 5 // limits the number of LEDs to process in an animation per task run (increases keyboard responsiveness)
// # define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
# 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_HUE_STEP 8
-# define RGB_MATRIX_SAT_STEP 8
-# define RGB_MATRIX_VAL_STEP 8
-# define RGB_MATRIX_SPD_STEP 10
/* Enable the animations you want/need. You may need to enable only a small number of these because *
* they take up a lot of space. Enable and confirm that you can still successfully compile your firmware. */
diff --git a/keyboards/blockboy/ac980mini/info.json b/keyboards/blockboy/ac980mini/info.json
index c754176824..1134d36aeb 100644
--- a/keyboards/blockboy/ac980mini/info.json
+++ b/keyboards/blockboy/ac980mini/info.json
@@ -19,7 +19,10 @@
"pin": "B7"
},
"rgb_matrix": {
- "driver": "WS2812"
+ "driver": "WS2812",
+ "sat_steps": 8,
+ "val_steps": 8,
+ "speed_steps": 10
},
"layouts": {
"LAYOUT": {