diff options
author | Ryan <fauxpark@gmail.com> | 2023-06-16 14:04:45 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-16 14:04:45 +1000 |
commit | 2367d8129c92474eb0da66ebc5ace893097cf574 (patch) | |
tree | 07dd36030e6b490cf2c33a43bb434d419a02d0c2 /keyboards/pearlboards/zeus | |
parent | 579db6131e271a6b3a52c3e19b2fe3a15fd403c7 (diff) |
Move `RGBLIGHT_SLEEP` to data driven (#21072)
Diffstat (limited to 'keyboards/pearlboards/zeus')
-rw-r--r-- | keyboards/pearlboards/zeus/config.h | 2 | ||||
-rw-r--r-- | keyboards/pearlboards/zeus/info.json | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/pearlboards/zeus/config.h b/keyboards/pearlboards/zeus/config.h index 102c43e168..756ca8a096 100644 --- a/keyboards/pearlboards/zeus/config.h +++ b/keyboards/pearlboards/zeus/config.h @@ -34,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define V_PEAK 5 /*== all animations enabled ==*/ -/* If RGBLIGHT_SLEEP defined, the RGB lighting will be switched off when the host goes to sleep */ #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_CHRISTMAS @@ -48,7 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #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 diff --git a/keyboards/pearlboards/zeus/info.json b/keyboards/pearlboards/zeus/info.json index 0fbfc75c21..14d06f6ea5 100644 --- a/keyboards/pearlboards/zeus/info.json +++ b/keyboards/pearlboards/zeus/info.json @@ -24,6 +24,9 @@ "scroll_lock": "C3", "on_state": 0 }, + "rgblight": { + "sleep": true + }, "ws2812": { "pin": "D5" }, |