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

@ -36,10 +36,6 @@
# 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
// RGB Matrix Animation modes. Explicitly enabled
// For full list of effects, see:
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects

View file

@ -11,7 +11,10 @@
"pin": "C7"
},
"rgb_matrix": {
"driver": "WS2812"
"driver": "WS2812",
"sat_steps": 8,
"val_steps": 8,
"speed_steps": 10
},
"matrix_pins": {
"cols": ["F7", "F6", "F5", "F4", "B0", "B7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],

View file

@ -26,10 +26,6 @@
# 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
// RGB Matrix Animation modes. Explicitly enabled
// For full list of effects, see:
// https://docs.qmk.fm/#/feature_rgb_matrix?id=rgb-matrix-effects

View file

@ -12,7 +12,10 @@
"pin": "C7"
},
"rgb_matrix": {
"driver": "WS2812"
"driver": "WS2812",
"sat_steps": 8,
"val_steps": 8,
"speed_steps": 10
},
"matrix_pins": {
"cols": ["F7", "F6", "F5", "F4", "B0", "B7", "D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4"],