Move RGBLIGHT_LIMIT_VAL to data driven (#20974)

Co-authored-by: Nick Brassel <nick@tzarc.org>
This commit is contained in:
Ryan
2023-05-27 12:27:44 +10:00
committed by GitHub
parent 8fdcba12e6
commit 363bfdbfda
679 changed files with 649 additions and 493 deletions

View File

@@ -21,7 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8
# define RGBLIGHT_LIMIT_VAL 120 /* The maximum brightness level */
# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
//# define RGBLIGHT_EFFECT_BREATHING
//# define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -15,6 +15,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 120
},
"processor": "atmega32u4",
"bootloader": "caterina"
}

View File

@@ -31,7 +31,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8
# define RGBLIGHT_LIMIT_VAL 120 /* The maximum brightness level */
# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
//# define RGBLIGHT_EFFECT_BREATHING
//# define RGBLIGHT_EFFECT_RAINBOW_MOOD

View File

@@ -37,6 +37,9 @@
"ws2812": {
"pin": "D3"
},
"rgblight": {
"max_brightness": 120
},
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {