summaryrefslogtreecommitdiff
path: root/keyboards/checkerboards
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/checkerboards
parent8093b13365864ec96192265242a9da44c36db798 (diff)
Move `RGB_MATRIX_HUE/SAT/VAL/SPD_STEP` to data driven (#21354)
Diffstat (limited to 'keyboards/checkerboards')
-rw-r--r--keyboards/checkerboards/quark_lp/config.h4
-rw-r--r--keyboards/checkerboards/quark_lp/info.json5
2 files changed, 4 insertions, 5 deletions
diff --git a/keyboards/checkerboards/quark_lp/config.h b/keyboards/checkerboards/quark_lp/config.h
index 383ae5c133..ca124775d7 100644
--- a/keyboards/checkerboards/quark_lp/config.h
+++ b/keyboards/checkerboards/quark_lp/config.h
@@ -27,10 +27,6 @@
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 125 // limits maximum brightness of LEDs to 125 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
// RGB Matrix Animation modes. Explicitly enabled
// For full list of effects, see:
diff --git a/keyboards/checkerboards/quark_lp/info.json b/keyboards/checkerboards/quark_lp/info.json
index 1dee17b95f..201de629da 100644
--- a/keyboards/checkerboards/quark_lp/info.json
+++ b/keyboards/checkerboards/quark_lp/info.json
@@ -12,7 +12,10 @@
"pin": "C2"
},
"rgb_matrix": {
- "driver": "WS2812"
+ "driver": "WS2812",
+ "sat_steps": 8,
+ "val_steps": 8,
+ "speed_steps": 10
},
"matrix_pins": {
"cols": ["B6", "B5", "B4", "B3", "B0", "D6", "D5", "D4", "D3", "D2", "D1", "D0"],