summaryrefslogtreecommitdiff
path: root/keyboards/tominabox1
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/tominabox1
parent8093b13365864ec96192265242a9da44c36db798 (diff)
Move `RGB_MATRIX_HUE/SAT/VAL/SPD_STEP` to data driven (#21354)
Diffstat (limited to 'keyboards/tominabox1')
-rw-r--r--keyboards/tominabox1/le_chiffre/config.h4
-rw-r--r--keyboards/tominabox1/le_chiffre/he/info.json5
-rw-r--r--keyboards/tominabox1/le_chiffre/rev1/info.json5
-rw-r--r--keyboards/tominabox1/le_chiffre/rev2/info.json5
4 files changed, 12 insertions, 7 deletions
diff --git a/keyboards/tominabox1/le_chiffre/config.h b/keyboards/tominabox1/le_chiffre/config.h
index bc1950aefe..c4ae5fc38b 100644
--- a/keyboards/tominabox1/le_chiffre/config.h
+++ b/keyboards/tominabox1/le_chiffre/config.h
@@ -42,8 +42,4 @@
#define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
#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_HUE_STEP 8
-#define RGB_MATRIX_SAT_STEP 8
-#define RGB_MATRIX_VAL_STEP 8
-#define RGB_MATRIX_SPD_STEP 10
#endif
diff --git a/keyboards/tominabox1/le_chiffre/he/info.json b/keyboards/tominabox1/le_chiffre/he/info.json
index 8c8e7f5b09..b4c02bf0e1 100644
--- a/keyboards/tominabox1/le_chiffre/he/info.json
+++ b/keyboards/tominabox1/le_chiffre/he/info.json
@@ -19,7 +19,10 @@
]
},
"rgb_matrix": {
- "driver": "WS2812"
+ "driver": "WS2812",
+ "sat_steps": 8,
+ "val_steps": 8,
+ "speed_steps": 10
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
diff --git a/keyboards/tominabox1/le_chiffre/rev1/info.json b/keyboards/tominabox1/le_chiffre/rev1/info.json
index 32e08029d5..73b6f435a7 100644
--- a/keyboards/tominabox1/le_chiffre/rev1/info.json
+++ b/keyboards/tominabox1/le_chiffre/rev1/info.json
@@ -19,7 +19,10 @@
]
},
"rgb_matrix": {
- "driver": "WS2812"
+ "driver": "WS2812",
+ "sat_steps": 8,
+ "val_steps": 8,
+ "speed_steps": 10
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
diff --git a/keyboards/tominabox1/le_chiffre/rev2/info.json b/keyboards/tominabox1/le_chiffre/rev2/info.json
index 0dd86e5848..44dcfdf728 100644
--- a/keyboards/tominabox1/le_chiffre/rev2/info.json
+++ b/keyboards/tominabox1/le_chiffre/rev2/info.json
@@ -19,7 +19,10 @@
]
},
"rgb_matrix": {
- "driver": "WS2812"
+ "driver": "WS2812",
+ "sat_steps": 8,
+ "val_steps": 8,
+ "speed_steps": 10
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",