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/mtbkeys | |
parent | 579db6131e271a6b3a52c3e19b2fe3a15fd403c7 (diff) | |
download | qmk_firmware-2367d8129c92474eb0da66ebc5ace893097cf574.tar.gz qmk_firmware-2367d8129c92474eb0da66ebc5ace893097cf574.zip |
Move `RGBLIGHT_SLEEP` to data driven (#21072)
Diffstat (limited to 'keyboards/mtbkeys')
-rw-r--r-- | keyboards/mtbkeys/mtb60/hotswap/config.h | 1 | ||||
-rw-r--r-- | keyboards/mtbkeys/mtb60/hotswap/info.json | 3 | ||||
-rw-r--r-- | keyboards/mtbkeys/mtb60/solder/config.h | 1 | ||||
-rw-r--r-- | keyboards/mtbkeys/mtb60/solder/info.json | 3 |
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/mtbkeys/mtb60/hotswap/config.h b/keyboards/mtbkeys/mtb60/hotswap/config.h index 8d17412313..c64507dedd 100644 --- a/keyboards/mtbkeys/mtb60/hotswap/config.h +++ b/keyboards/mtbkeys/mtb60/hotswap/config.h @@ -21,7 +21,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 /* Turn RGB light off when the host goes to sleep */ # define RGBLIGHT_EFFECT_ALTERNATING # define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_CHRISTMAS diff --git a/keyboards/mtbkeys/mtb60/hotswap/info.json b/keyboards/mtbkeys/mtb60/hotswap/info.json index c1acbc3b86..4929ca1952 100644 --- a/keyboards/mtbkeys/mtb60/hotswap/info.json +++ b/keyboards/mtbkeys/mtb60/hotswap/info.json @@ -8,6 +8,9 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "rgblight": { + "sleep": true + }, "ws2812": { "pin": "D4" }, diff --git a/keyboards/mtbkeys/mtb60/solder/config.h b/keyboards/mtbkeys/mtb60/solder/config.h index 8d17412313..c64507dedd 100644 --- a/keyboards/mtbkeys/mtb60/solder/config.h +++ b/keyboards/mtbkeys/mtb60/solder/config.h @@ -21,7 +21,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 /* Turn RGB light off when the host goes to sleep */ # define RGBLIGHT_EFFECT_ALTERNATING # define RGBLIGHT_EFFECT_BREATHING # define RGBLIGHT_EFFECT_CHRISTMAS diff --git a/keyboards/mtbkeys/mtb60/solder/info.json b/keyboards/mtbkeys/mtb60/solder/info.json index 5cf3a327a1..33b623d1d3 100644 --- a/keyboards/mtbkeys/mtb60/solder/info.json +++ b/keyboards/mtbkeys/mtb60/solder/info.json @@ -8,6 +8,9 @@ "pid": "0x0000", "device_version": "0.0.1" }, + "rgblight": { + "sleep": true + }, "ws2812": { "pin": "B0" }, |