1
0

Move RGBLIGHT_SLEEP to data driven (#21072)

This commit is contained in:
Ryan
2023-06-16 14:04:45 +10:00
committed by GitHub
parent 579db6131e
commit 2367d8129c
805 changed files with 991 additions and 563 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_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
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -28,7 +28,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_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
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -17,7 +17,8 @@
"driver": "i2c"
},
"rgblight": {
"max_brightness": 250
"max_brightness": 250,
"sleep": true
},
"processor": "atmega32a",
"bootloader": "bootloadhid",

View File

@@ -29,4 +29,3 @@ 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_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */

View File

@@ -17,6 +17,9 @@
"pin": "B6",
"levels": 5
},
"rgblight": {
"sleep": true
},
"ws2812": {
"pin": "E2"
},

View File

@@ -27,4 +27,3 @@ 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_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */

View File

@@ -25,7 +25,8 @@
"pin": "E2"
},
"rgblight": {
"max_brightness": 160
"max_brightness": 160,
"sleep": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",

View File

@@ -21,7 +21,6 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#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
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -18,6 +18,9 @@
"levels": 5,
"breathing": true
},
"rgblight": {
"sleep": true
},
"ws2812": {
"pin": "E2"
},

View File

@@ -21,7 +21,6 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#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
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -21,7 +21,8 @@
"pin": "E2"
},
"rgblight": {
"max_brightness": 180
"max_brightness": 180,
"sleep": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",

View File

@@ -21,7 +21,6 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
#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
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL

View File

@@ -21,7 +21,8 @@
"pin": "E2"
},
"rgblight": {
"max_brightness": 150
"max_brightness": 150,
"sleep": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",