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

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

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

View File

@@ -53,7 +53,6 @@
# define RGBLIGHT_HUE_STEP 5
# define RGBLIGHT_SAT_STEP 5
# define RGBLIGHT_VAL_STEP 5
# define RGBLIGHT_SLEEP
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE

View File

@@ -16,6 +16,9 @@
"rows": ["D7", "D6", "D5", "D3", "D2"]
},
"diode_direction": "COL2ROW",
"rgblight": {
"sleep": true
},
"ws2812": {
"pin": "B0"
},