summaryrefslogtreecommitdiff
path: root/keyboards/sam
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/sam
parent8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff)
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/sam')
-rw-r--r--keyboards/sam/s80/config.h1
-rw-r--r--keyboards/sam/s80/info.json3
-rw-r--r--keyboards/sam/sg81m/config.h1
3 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/sam/s80/config.h b/keyboards/sam/s80/config.h
index 3792f94db7..4c3d6ae504 100644
--- a/keyboards/sam/s80/config.h
+++ b/keyboards/sam/s80/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 100 /* The maximum brightness level */
//# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
// generated by KBFirmware JSON to QMK Parser
diff --git a/keyboards/sam/s80/info.json b/keyboards/sam/s80/info.json
index f36541a087..73794ba3eb 100644
--- a/keyboards/sam/s80/info.json
+++ b/keyboards/sam/s80/info.json
@@ -19,6 +19,9 @@
"ws2812": {
"pin": "E2"
},
+ "rgblight": {
+ "max_brightness": 100
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/sam/sg81m/config.h b/keyboards/sam/sg81m/config.h
index 0d5714a68f..b999af6eec 100644
--- a/keyboards/sam/sg81m/config.h
+++ b/keyboards/sam/sg81m/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 */
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD