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

@ -30,10 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// #define RGB_MATRIX_DEFAULT_HUE 128
// #define RGB_MATRIX_DEFAULT_SAT 255
#define RGB_MATRIX_DEFAULT_VAL RGB_MATRIX_MAXIMUM_BRIGHTNESS
# 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

View file

@ -9,7 +9,10 @@
"device_version": "0.0.1"
},
"rgb_matrix": {
"driver": "WS2812"
"driver": "WS2812",
"sat_steps": 8,
"val_steps": 8,
"speed_steps": 10
},
"rgblight": {
"led_count": 18,