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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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

@ -8,6 +8,9 @@
"pid": "0xFEED",
"device_version": "0.0.1"
},
"rgblight": {
"sleep": true
},
"ws2812": {
"pin": "B0"
},

View file

@ -22,7 +22,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

@ -11,7 +11,8 @@
"pin": "B6"
},
"rgblight": {
"max_brightness": 200
"max_brightness": 200,
"sleep": true
},
"matrix_pins": {
"cols": ["D7", "C6", "D0", "D1", "F7", "B1", "B3", "B2"],

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

@ -8,6 +8,9 @@
"pid": "0x5341",
"device_version": "0.0.1"
},
"rgblight": {
"sleep": true
},
"ws2812": {
"pin": "B7"
},