Move RGBLIGHT_SLEEP to data driven (#21072)
This commit is contained in:
@@ -24,5 +24,3 @@
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
/* If defined, the RGB lighting will be switched off when the host goes to sleep */
|
||||
#define RGBLIGHT_SLEEP
|
||||
|
||||
@@ -25,7 +25,8 @@
|
||||
"pin": "E2"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 200
|
||||
"max_brightness": 200,
|
||||
"sleep": true
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C7",
|
||||
|
||||
@@ -25,7 +25,8 @@
|
||||
"pin": "E2"
|
||||
},
|
||||
"rgblight": {
|
||||
"max_brightness": 200
|
||||
"max_brightness": 200,
|
||||
"sleep": true
|
||||
},
|
||||
"indicators": {
|
||||
"caps_lock": "C7",
|
||||
|
||||
@@ -30,7 +30,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": "0x0007",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E6"
|
||||
},
|
||||
|
||||
@@ -30,7 +30,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 */
|
||||
|
||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
||||
#define LOCKING_SUPPORT_ENABLE
|
||||
|
||||
@@ -12,6 +12,9 @@
|
||||
"cols": ["D0", "D1", "D2", "D3", "D5", "D4", "D6", "D7", "B4", "F7", "F6", "F5", "F4", "F1", "F0", "E6"],
|
||||
"rows": ["B0", "B1", "B2", "B3", "B7"]
|
||||
},
|
||||
"rgblight": {
|
||||
"sleep": true
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "E2"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user