diff options
author | Ryan <[email protected]> | 2023-06-16 14:04:45 +1000 |
---|---|---|
committer | GitHub <[email protected]> | 2023-06-16 14:04:45 +1000 |
commit | 2367d8129c92474eb0da66ebc5ace893097cf574 (patch) | |
tree | 07dd36030e6b490cf2c33a43bb434d419a02d0c2 /keyboards/jian | |
parent | 579db6131e271a6b3a52c3e19b2fe3a15fd403c7 (diff) | |
download | qmk_firmware-2367d8129c92474eb0da66ebc5ace893097cf574.tar.gz qmk_firmware-2367d8129c92474eb0da66ebc5ace893097cf574.zip |
Move `RGBLIGHT_SLEEP` to data driven (#21072)
Diffstat (limited to 'keyboards/jian')
-rw-r--r-- | keyboards/jian/nsrev2/config.h | 2 | ||||
-rw-r--r-- | keyboards/jian/nsrev2/info.json | 1 | ||||
-rw-r--r-- | keyboards/jian/rev1/config.h | 3 | ||||
-rw-r--r-- | keyboards/jian/rev1/info.json | 1 | ||||
-rw-r--r-- | keyboards/jian/rev2/config.h | 2 | ||||
-rw-r--r-- | keyboards/jian/rev2/info.json | 1 |
6 files changed, 3 insertions, 7 deletions
diff --git a/keyboards/jian/nsrev2/config.h b/keyboards/jian/nsrev2/config.h index 19585be49a..64941df5bc 100644 --- a/keyboards/jian/nsrev2/config.h +++ b/keyboards/jian/nsrev2/config.h @@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGBLIGHT_SLEEP - #ifndef IOS_DEVICE_ENABLE #if RGBLED_NUM <= 6 #define RGBLIGHT_LIMIT_VAL 255 diff --git a/keyboards/jian/nsrev2/info.json b/keyboards/jian/nsrev2/info.json index e60453baa3..f5e01788da 100644 --- a/keyboards/jian/nsrev2/info.json +++ b/keyboards/jian/nsrev2/info.json @@ -14,6 +14,7 @@ "breathing": true }, "rgblight": { + "sleep": true, "split": true }, "ws2812": { diff --git a/keyboards/jian/rev1/config.h b/keyboards/jian/rev1/config.h index 3e51b397d3..c865aa9606 100644 --- a/keyboards/jian/rev1/config.h +++ b/keyboards/jian/rev1/config.h @@ -85,9 +85,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define RGBLIGHT_SLEEP - #ifndef IOS_DEVICE_ENABLE #if RGBLED_NUM <= 6 #define RGBLIGHT_LIMIT_VAL 255 diff --git a/keyboards/jian/rev1/info.json b/keyboards/jian/rev1/info.json index b31d55dfa3..9f44936e0a 100644 --- a/keyboards/jian/rev1/info.json +++ b/keyboards/jian/rev1/info.json @@ -13,6 +13,7 @@ "levels": 5 }, "rgblight": { + "sleep": true, "split": true }, "ws2812": { diff --git a/keyboards/jian/rev2/config.h b/keyboards/jian/rev2/config.h index f7363db53d..ee7fb98775 100644 --- a/keyboards/jian/rev2/config.h +++ b/keyboards/jian/rev2/config.h @@ -37,8 +37,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#define RGBLIGHT_SLEEP - #ifndef IOS_DEVICE_ENABLE #if RGBLED_NUM <= 6 #define RGBLIGHT_LIMIT_VAL 255 diff --git a/keyboards/jian/rev2/info.json b/keyboards/jian/rev2/info.json index dcf0e7ef2c..2930b4d71f 100644 --- a/keyboards/jian/rev2/info.json +++ b/keyboards/jian/rev2/info.json @@ -13,6 +13,7 @@ "levels": 5 }, "rgblight": { + "sleep": true, "split": true }, "ws2812": { |