1
0
Fork 0

Move RGBLIGHT_HUE/SAT/VAL_STEP to data driven (#21292)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan 2023-06-24 17:37:54 +10:00 committed by GitHub
parent 6545eb64a0
commit 4ae9bfd17a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1279 changed files with 1245 additions and 2182 deletions

View file

@ -29,7 +29,3 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View file

@ -21,6 +21,8 @@
"pin": "B1"
},
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 87,
"max_brightness": 200
},

View file

@ -1,21 +0,0 @@
/* Copyright 2021 TW59420 <https://github.com/TW59420>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View file

@ -9,6 +9,8 @@
"device_version": "0.0.1"
},
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 21
},
"ws2812": {

View file

@ -65,7 +65,3 @@
#define ENABLE_RGB_MATRIX_MULTISPLASH
#define ENABLE_RGB_MATRIX_SOLID_SPLASH
#define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View file

@ -25,6 +25,8 @@
"matrix": [0, 1]
},
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 97,
"sleep": true
},

View file

@ -40,7 +40,3 @@
#define ENABLE_RGB_MATRIX_HUE_WAVE
#define ENABLE_RGB_MATRIX_PIXEL_FRACTAL
#define ENABLE_RGB_MATRIX_PIXEL_RAIN
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View file

@ -9,6 +9,8 @@
"device_version": "0.0.1"
},
"rgblight": {
"saturation_steps": 8,
"brightness_steps": 8,
"led_count": 21,
"sleep": true
},