diff options
author | Ryan <fauxpark@gmail.com> | 2023-05-27 12:27:44 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-27 12:27:44 +1000 |
commit | 363bfdbfda5ea9fa996390920a9e8982535b76c8 (patch) | |
tree | 65684518b21240b47f7a64d8f0462e246ede70cc /keyboards/marksard/treadstone48 | |
parent | 8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff) |
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/marksard/treadstone48')
-rw-r--r-- | keyboards/marksard/treadstone48/rev1/config.h | 1 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/rev1/info.json | 3 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/rev2/config.h | 1 | ||||
-rw-r--r-- | keyboards/marksard/treadstone48/rev2/info.json | 3 |
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/marksard/treadstone48/rev1/config.h b/keyboards/marksard/treadstone48/rev1/config.h index 5379417262..63ec196632 100644 --- a/keyboards/marksard/treadstone48/rev1/config.h +++ b/keyboards/marksard/treadstone48/rev1/config.h @@ -27,7 +27,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_LIMIT_VAL 180 /* 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/marksard/treadstone48/rev1/info.json b/keyboards/marksard/treadstone48/rev1/info.json index b0d63bc748..f4dfc35ec1 100644 --- a/keyboards/marksard/treadstone48/rev1/info.json +++ b/keyboards/marksard/treadstone48/rev1/info.json @@ -19,6 +19,9 @@ "ws2812": { "pin": "D3" }, + "rgblight": { + "max_brightness": 180 + }, "processor": "atmega32u4", "bootloader": "caterina", "layouts": { diff --git a/keyboards/marksard/treadstone48/rev2/config.h b/keyboards/marksard/treadstone48/rev2/config.h index a605380716..4335ea0670 100644 --- a/keyboards/marksard/treadstone48/rev2/config.h +++ b/keyboards/marksard/treadstone48/rev2/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_LIMIT_VAL 220 /* 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/marksard/treadstone48/rev2/info.json b/keyboards/marksard/treadstone48/rev2/info.json index e96ce9fd17..6e39235dc1 100644 --- a/keyboards/marksard/treadstone48/rev2/info.json +++ b/keyboards/marksard/treadstone48/rev2/info.json @@ -11,6 +11,9 @@ "ws2812": { "pin": "D3" }, + "rgblight": { + "max_brightness": 220 + }, "matrix_pins": { "cols": ["D4", "C6", "D7", "E6", "B4", "B5"], "rows": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"] |