summaryrefslogtreecommitdiff
path: root/keyboards/alfredslab
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-27 12:27:44 +1000
committerGitHub <noreply@github.com>2023-05-27 12:27:44 +1000
commit363bfdbfda5ea9fa996390920a9e8982535b76c8 (patch)
tree65684518b21240b47f7a64d8f0462e246ede70cc /keyboards/alfredslab
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/alfredslab')
-rw-r--r--keyboards/alfredslab/swift65/hotswap/config.h1
-rw-r--r--keyboards/alfredslab/swift65/solder/config.h1
-rw-r--r--keyboards/alfredslab/swift65/solder/info.json3
3 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/alfredslab/swift65/hotswap/config.h b/keyboards/alfredslab/swift65/hotswap/config.h
index 8fc29553d6..793bb4dd1e 100644
--- a/keyboards/alfredslab/swift65/hotswap/config.h
+++ b/keyboards/alfredslab/swift65/hotswap/config.h
@@ -20,7 +20,6 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
- #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
/*== all animations enable ==*/
#define RGBLIGHT_EFFECT_BREATHING
diff --git a/keyboards/alfredslab/swift65/solder/config.h b/keyboards/alfredslab/swift65/solder/config.h
index 79c1824d08..9ee0233356 100644
--- a/keyboards/alfredslab/swift65/solder/config.h
+++ b/keyboards/alfredslab/swift65/solder/config.h
@@ -21,7 +21,6 @@
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8
- #define RGBLIGHT_LIMIT_VAL 100 /* The maximum brightness level */
#define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
# define RGBLIGHT_EFFECT_BREATHING
# define RGBLIGHT_EFFECT_RAINBOW_MOOD
diff --git a/keyboards/alfredslab/swift65/solder/info.json b/keyboards/alfredslab/swift65/solder/info.json
index abaaf12353..129b0436d9 100644
--- a/keyboards/alfredslab/swift65/solder/info.json
+++ b/keyboards/alfredslab/swift65/solder/info.json
@@ -8,6 +8,9 @@
"pid": "0xD4C3",
"device_version": "0.0.1"
},
+ "rgblight": {
+ "max_brightness": 100
+ },
"ws2812": {
"pin": "D2"
},