Move RGB_MATRIX_HUE/SAT/VAL/SPD_STEP to data driven (#21354)

This commit is contained in:
Ryan 2023-06-24 17:13:18 +10:00 committed by GitHub
parent 8093b13365
commit 6545eb64a0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
42 changed files with 85 additions and 100 deletions

View file

@ -40,10 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #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 200 out of 255. If not defined maximum brightness is set to 255
#define RGB_MATRIX_HUE_STEP 8
#define RGB_MATRIX_SAT_STEP 8
#define RGB_MATRIX_VAL_STEP 8
#define RGB_MATRIX_SPD_STEP 10
// #undef ENABLE_RGB_MATRIX_ALPHAS_MODS
// #undef ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN

View file

@ -9,7 +9,10 @@
"device_version": "0.2.0"
},
"rgb_matrix": {
"driver": "WS2812"
"driver": "WS2812",
"sat_steps": 8,
"val_steps": 8,
"speed_steps": 10
},
"matrix_pins": {
"cols": ["D4", "C6", "D7", "E6", "B4"],