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/custommk | |
parent | 8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff) |
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/custommk')
-rw-r--r-- | keyboards/custommk/genesis/rev1/config.h | 1 | ||||
-rw-r--r-- | keyboards/custommk/genesis/rev1/info.json | 3 | ||||
-rw-r--r-- | keyboards/custommk/genesis/rev2/config.h | 1 | ||||
-rw-r--r-- | keyboards/custommk/genesis/rev2/info.json | 3 |
4 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/custommk/genesis/rev1/config.h b/keyboards/custommk/genesis/rev1/config.h index 2967c1a31c..d894b55edf 100644 --- a/keyboards/custommk/genesis/rev1/config.h +++ b/keyboards/custommk/genesis/rev1/config.h @@ -32,6 +32,5 @@ #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 -#define RGBLIGHT_LIMIT_VAL 128 #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 4 diff --git a/keyboards/custommk/genesis/rev1/info.json b/keyboards/custommk/genesis/rev1/info.json index 2b0b245b45..4915497bb0 100644 --- a/keyboards/custommk/genesis/rev1/info.json +++ b/keyboards/custommk/genesis/rev1/info.json @@ -11,6 +11,9 @@ "ws2812": { "pin": "E6" }, + "rgblight": { + "max_brightness": 128 + }, "matrix_pins": { "cols": ["F4", "F5", "D7", "B4"], "rows": ["F0", "C7", "C6", "B6", "B5"] diff --git a/keyboards/custommk/genesis/rev2/config.h b/keyboards/custommk/genesis/rev2/config.h index 7f9e79ba2c..126caeab6a 100644 --- a/keyboards/custommk/genesis/rev2/config.h +++ b/keyboards/custommk/genesis/rev2/config.h @@ -33,6 +33,5 @@ #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 -#define RGBLIGHT_LIMIT_VAL 128 #define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL + 4 diff --git a/keyboards/custommk/genesis/rev2/info.json b/keyboards/custommk/genesis/rev2/info.json index 079e37fdb0..0ee3d9a537 100644 --- a/keyboards/custommk/genesis/rev2/info.json +++ b/keyboards/custommk/genesis/rev2/info.json @@ -11,6 +11,9 @@ "ws2812": { "pin": "E6" }, + "rgblight": { + "max_brightness": 128 + }, "matrix_pins": { "cols": ["F4", "F5", "D7", "B4"], "rows": ["F0", "C7", "C6", "B6", "B5", "B0"] |