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

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

View File

@@ -25,7 +25,8 @@
"pin": "E2"
},
"rgblight": {
"max_brightness": 200
"max_brightness": 200,
"sleep": true
},
"indicators": {
"caps_lock": "C7",

View File

@@ -25,7 +25,8 @@
"pin": "E2"
},
"rgblight": {
"max_brightness": 200
"max_brightness": 200,
"sleep": true
},
"indicators": {
"caps_lock": "C7",

View File

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

View File

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

View File

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

View File

@@ -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"
},