diff options
| author | Ryan <fauxpark@gmail.com> | 2023-06-24 17:37:54 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-24 17:37:54 +1000 |
| commit | 4ae9bfd17ab01608e1bf2492c35d79bd2ad5c0fe (patch) | |
| tree | cf48a8728411d2ad4a00422edad87a26288a95ec /keyboards/boardrun | |
| parent | 6545eb64a0cc1797893c6782e78a3ecc68de729d (diff) | |
Move `RGBLIGHT_HUE/SAT/VAL_STEP` to data driven (#21292)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/boardrun')
| -rw-r--r-- | keyboards/boardrun/bizarre/config.h | 3 | ||||
| -rw-r--r-- | keyboards/boardrun/bizarre/info.json | 3 | ||||
| -rw-r--r-- | keyboards/boardrun/classic/config.h | 3 | ||||
| -rw-r--r-- | keyboards/boardrun/classic/info.json | 3 |
4 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/boardrun/bizarre/config.h b/keyboards/boardrun/bizarre/config.h index 81259c561a..2dd7e6b969 100644 --- a/keyboards/boardrun/bizarre/config.h +++ b/keyboards/boardrun/bizarre/config.h | |||
| @@ -47,6 +47,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 47 | #define RGBLIGHT_EFFECT_RGB_TEST | 47 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 48 | #define RGBLIGHT_EFFECT_ALTERNATING | 48 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 49 | #define RGBLIGHT_EFFECT_TWINKLE | 49 | #define RGBLIGHT_EFFECT_TWINKLE |
| 50 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | ||
| 51 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation | ||
| 52 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | ||
diff --git a/keyboards/boardrun/bizarre/info.json b/keyboards/boardrun/bizarre/info.json index ed7f0f6728..6167941d35 100644 --- a/keyboards/boardrun/bizarre/info.json +++ b/keyboards/boardrun/bizarre/info.json | |||
| @@ -10,6 +10,9 @@ | |||
| 10 | "device_version": "0.0.1" | 10 | "device_version": "0.0.1" |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | 12 | "rgblight": { |
| 13 | "hue_steps": 12, | ||
| 14 | "saturation_steps": 25, | ||
| 15 | "brightness_steps": 12, | ||
| 13 | "led_count": 15 | 16 | "led_count": 15 |
| 14 | }, | 17 | }, |
| 15 | "ws2812": { | 18 | "ws2812": { |
diff --git a/keyboards/boardrun/classic/config.h b/keyboards/boardrun/classic/config.h index 81259c561a..2dd7e6b969 100644 --- a/keyboards/boardrun/classic/config.h +++ b/keyboards/boardrun/classic/config.h | |||
| @@ -47,6 +47,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 47 | #define RGBLIGHT_EFFECT_RGB_TEST | 47 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 48 | #define RGBLIGHT_EFFECT_ALTERNATING | 48 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 49 | #define RGBLIGHT_EFFECT_TWINKLE | 49 | #define RGBLIGHT_EFFECT_TWINKLE |
| 50 | #define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue | ||
| 51 | #define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation | ||
| 52 | #define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness) | ||
diff --git a/keyboards/boardrun/classic/info.json b/keyboards/boardrun/classic/info.json index 01fcbac488..aeb670a30f 100644 --- a/keyboards/boardrun/classic/info.json +++ b/keyboards/boardrun/classic/info.json | |||
| @@ -10,6 +10,9 @@ | |||
| 10 | "device_version": "0.0.1" | 10 | "device_version": "0.0.1" |
| 11 | }, | 11 | }, |
| 12 | "rgblight": { | 12 | "rgblight": { |
| 13 | "hue_steps": 12, | ||
| 14 | "saturation_steps": 25, | ||
| 15 | "brightness_steps": 12, | ||
| 13 | "led_count": 14 | 16 | "led_count": 14 |
| 14 | }, | 17 | }, |
| 15 | "ws2812": { | 18 | "ws2812": { |
