Move RGBLIGHT_SLEEP to data driven (#21072)
This commit is contained in:
@@ -94,7 +94,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
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"pid": "0x0001",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B0"
|
||||
},
|
||||
|
||||
@@ -90,7 +90,6 @@
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 8
|
||||
# define RGBLIGHT_VAL_STEP 8
|
||||
# define RGBLIGHT_SLEEP
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"pid": "0x0002",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B0"
|
||||
},
|
||||
|
||||
@@ -18,6 +18,5 @@
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLIGHT_SLEEP
|
||||
|
||||
#define I2C_START_RETRY_COUNT 1
|
||||
|
||||
@@ -11,6 +11,9 @@
|
||||
"backlight": {
|
||||
"pin": "D4"
|
||||
},
|
||||
"rgblight": {
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
"driver": "i2c"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user