summaryrefslogtreecommitdiff
path: root/keyboards/work_louder
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-06-16 14:04:45 +1000
committerGitHub <noreply@github.com>2023-06-16 14:04:45 +1000
commit2367d8129c92474eb0da66ebc5ace893097cf574 (patch)
tree07dd36030e6b490cf2c33a43bb434d419a02d0c2 /keyboards/work_louder
parent579db6131e271a6b3a52c3e19b2fe3a15fd403c7 (diff)
Move `RGBLIGHT_SLEEP` to data driven (#21072)
Diffstat (limited to 'keyboards/work_louder')
-rw-r--r--keyboards/work_louder/loop/config.h1
-rw-r--r--keyboards/work_louder/loop/info.json3
-rw-r--r--keyboards/work_louder/micro/config.h1
-rw-r--r--keyboards/work_louder/micro/info.json3
-rw-r--r--keyboards/work_louder/nano/config.h1
-rw-r--r--keyboards/work_louder/nano/info.json3
-rw-r--r--keyboards/work_louder/work_board/config.h1
-rw-r--r--keyboards/work_louder/work_board/info.json3
8 files changed, 8 insertions, 8 deletions
diff --git a/keyboards/work_louder/loop/config.h b/keyboards/work_louder/loop/config.h
index cf25b4b5b7..6f91e57629 100644
--- a/keyboards/work_louder/loop/config.h
+++ b/keyboards/work_louder/loop/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 /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== or choose animations ==*/
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/work_louder/loop/info.json b/keyboards/work_louder/loop/info.json
index 966f0a6b02..458066fc15 100644
--- a/keyboards/work_louder/loop/info.json
+++ b/keyboards/work_louder/loop/info.json
@@ -30,7 +30,8 @@
"pin": "F1"
},
"rgblight": {
- "max_brightness": 120
+ "max_brightness": 120,
+ "sleep": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
diff --git a/keyboards/work_louder/micro/config.h b/keyboards/work_louder/micro/config.h
index 234b1de602..98f2b86973 100644
--- a/keyboards/work_louder/micro/config.h
+++ b/keyboards/work_louder/micro/config.h
@@ -12,7 +12,6 @@
// #define RGB_MATRIX_KEYPRESSES
#define RGBLIGHT_DI_PIN D2
-#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_GRADIENT + 9
#define RGBLIGHT_DEFAULT_HUE 213
diff --git a/keyboards/work_louder/micro/info.json b/keyboards/work_louder/micro/info.json
index 6b14ecfbe7..d003fcad38 100644
--- a/keyboards/work_louder/micro/info.json
+++ b/keyboards/work_louder/micro/info.json
@@ -37,7 +37,8 @@
"hue_steps": 8,
"led_count": 8,
"max_brightness": 150,
- "saturation_steps": 8
+ "saturation_steps": 8,
+ "sleep": true
},
"ws2812": {
"pin": "D1"
diff --git a/keyboards/work_louder/nano/config.h b/keyboards/work_louder/nano/config.h
index 593304a053..d7f8268e87 100644
--- a/keyboards/work_louder/nano/config.h
+++ b/keyboards/work_louder/nano/config.h
@@ -22,7 +22,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 /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== or choose animations ==*/
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/work_louder/nano/info.json b/keyboards/work_louder/nano/info.json
index adc32d10a6..c01e7c6805 100644
--- a/keyboards/work_louder/nano/info.json
+++ b/keyboards/work_louder/nano/info.json
@@ -26,7 +26,8 @@
"pin": "F6"
},
"rgblight": {
- "max_brightness": 120
+ "max_brightness": 120,
+ "sleep": true
},
"bootmagic": {
"matrix": [0, 2]
diff --git a/keyboards/work_louder/work_board/config.h b/keyboards/work_louder/work_board/config.h
index 56615c8e49..99eff1c251 100644
--- a/keyboards/work_louder/work_board/config.h
+++ b/keyboards/work_louder/work_board/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 /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== or choose animations ==*/
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/work_louder/work_board/info.json b/keyboards/work_louder/work_board/info.json
index 067a2b292e..99ddfd5e65 100644
--- a/keyboards/work_louder/work_board/info.json
+++ b/keyboards/work_louder/work_board/info.json
@@ -25,7 +25,8 @@
"pin": "D1"
},
"rgblight": {
- "max_brightness": 120
+ "max_brightness": 120,
+ "sleep": true
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",