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

@@ -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

View File

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

View File

@@ -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

View File

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

View File

@@ -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

View File

@@ -11,6 +11,9 @@
"backlight": {
"pin": "D4"
},
"rgblight": {
"sleep": true
},
"ws2812": {
"driver": "i2c"
},