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/sawnsprojects | |
| parent | 8fdcba12e684e7b1f0934fc9dc622e8e51f1deb9 (diff) | |
Move `RGBLIGHT_LIMIT_VAL` to data driven (#20974)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Diffstat (limited to 'keyboards/sawnsprojects')
10 files changed, 12 insertions, 6 deletions
diff --git a/keyboards/sawnsprojects/amber80/solder/config.h b/keyboards/sawnsprojects/amber80/solder/config.h index 1cca19e506..b47e1efd74 100644 --- a/keyboards/sawnsprojects/amber80/solder/config.h +++ b/keyboards/sawnsprojects/amber80/solder/config.h | |||
| @@ -21,7 +21,6 @@ | |||
| 21 | #define RGBLIGHT_HUE_STEP 8 | 21 | #define RGBLIGHT_HUE_STEP 8 |
| 22 | #define RGBLIGHT_SAT_STEP 8 | 22 | #define RGBLIGHT_SAT_STEP 8 |
| 23 | #define RGBLIGHT_VAL_STEP 8 | 23 | #define RGBLIGHT_VAL_STEP 8 |
| 24 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 25 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 24 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 26 | // /*== or choose animations ==*/ | 25 | // /*== or choose animations ==*/ |
| 27 | #define RGBLIGHT_EFFECT_BREATHING | 26 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/sawnsprojects/krush/krush60/solder/config.h b/keyboards/sawnsprojects/krush/krush60/solder/config.h index 936a988139..9cdc6354ec 100644 --- a/keyboards/sawnsprojects/krush/krush60/solder/config.h +++ b/keyboards/sawnsprojects/krush/krush60/solder/config.h | |||
| @@ -20,7 +20,6 @@ | |||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
| 23 | #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */ | ||
| 24 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 23 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 25 | /*== all animations enable ==*/ | 24 | /*== all animations enable ==*/ |
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/sawnsprojects/krush/krush60/solder/info.json b/keyboards/sawnsprojects/krush/krush60/solder/info.json index edf106675e..2cdecaaeb4 100644 --- a/keyboards/sawnsprojects/krush/krush60/solder/info.json +++ b/keyboards/sawnsprojects/krush/krush60/solder/info.json | |||
| @@ -20,6 +20,9 @@ | |||
| 20 | "ws2812": { | 20 | "ws2812": { |
| 21 | "pin": "F1" | 21 | "pin": "F1" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | ||
| 24 | "max_brightness": 200 | ||
| 25 | }, | ||
| 23 | "processor": "atmega32u4", | 26 | "processor": "atmega32u4", |
| 24 | "bootloader": "atmel-dfu", | 27 | "bootloader": "atmel-dfu", |
| 25 | "layout_aliases": { | 28 | "layout_aliases": { |
diff --git a/keyboards/sawnsprojects/krush/krush65/hotswap/config.h b/keyboards/sawnsprojects/krush/krush65/hotswap/config.h index 602670158b..380a50edbe 100644 --- a/keyboards/sawnsprojects/krush/krush65/hotswap/config.h +++ b/keyboards/sawnsprojects/krush/krush65/hotswap/config.h | |||
| @@ -26,7 +26,6 @@ | |||
| 26 | #define RGBLIGHT_HUE_STEP 8 | 26 | #define RGBLIGHT_HUE_STEP 8 |
| 27 | #define RGBLIGHT_SAT_STEP 8 | 27 | #define RGBLIGHT_SAT_STEP 8 |
| 28 | #define RGBLIGHT_VAL_STEP 8 | 28 | #define RGBLIGHT_VAL_STEP 8 |
| 29 | #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */ | ||
| 30 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 29 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 31 | /*== all animations enable ==*/ | 30 | /*== all animations enable ==*/ |
| 32 | #define RGBLIGHT_EFFECT_BREATHING | 31 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/sawnsprojects/krush/krush65/hotswap/info.json b/keyboards/sawnsprojects/krush/krush65/hotswap/info.json index af2f69242e..4cec48d86e 100644 --- a/keyboards/sawnsprojects/krush/krush65/hotswap/info.json +++ b/keyboards/sawnsprojects/krush/krush65/hotswap/info.json | |||
| @@ -25,6 +25,9 @@ | |||
| 25 | "ws2812": { | 25 | "ws2812": { |
| 26 | "pin": "E6" | 26 | "pin": "E6" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | ||
| 29 | "max_brightness": 200 | ||
| 30 | }, | ||
| 28 | "processor": "atmega32u4", | 31 | "processor": "atmega32u4", |
| 29 | "bootloader": "atmel-dfu", | 32 | "bootloader": "atmel-dfu", |
| 30 | "layouts": { | 33 | "layouts": { |
diff --git a/keyboards/sawnsprojects/krush/krush65/solder/config.h b/keyboards/sawnsprojects/krush/krush65/solder/config.h index 146d07f1fe..c5b074931d 100644 --- a/keyboards/sawnsprojects/krush/krush65/solder/config.h +++ b/keyboards/sawnsprojects/krush/krush65/solder/config.h | |||
| @@ -20,7 +20,6 @@ | |||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
| 23 | #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */ | ||
| 24 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 23 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 25 | /*== all animations enable ==*/ | 24 | /*== all animations enable ==*/ |
| 26 | #define RGBLIGHT_EFFECT_BREATHING | 25 | #define RGBLIGHT_EFFECT_BREATHING |
diff --git a/keyboards/sawnsprojects/krush/krush65/solder/info.json b/keyboards/sawnsprojects/krush/krush65/solder/info.json index 0d9dc6d58c..bd84e19a0e 100644 --- a/keyboards/sawnsprojects/krush/krush65/solder/info.json +++ b/keyboards/sawnsprojects/krush/krush65/solder/info.json | |||
| @@ -25,6 +25,9 @@ | |||
| 25 | "ws2812": { | 25 | "ws2812": { |
| 26 | "pin": "F1" | 26 | "pin": "F1" |
| 27 | }, | 27 | }, |
| 28 | "rgblight": { | ||
| 29 | "max_brightness": 200 | ||
| 30 | }, | ||
| 28 | "processor": "atmega32u4", | 31 | "processor": "atmega32u4", |
| 29 | "bootloader": "atmel-dfu", | 32 | "bootloader": "atmel-dfu", |
| 30 | "layout_aliases": { | 33 | "layout_aliases": { |
diff --git a/keyboards/sawnsprojects/satxri6key/config.h b/keyboards/sawnsprojects/satxri6key/config.h index d180a0b733..b7b3436051 100644 --- a/keyboards/sawnsprojects/satxri6key/config.h +++ b/keyboards/sawnsprojects/satxri6key/config.h | |||
| @@ -20,7 +20,6 @@ | |||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
| 23 | #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 24 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 23 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 25 | #define RGBLIGHT_EFFECT_BREATHING | 24 | #define RGBLIGHT_EFFECT_BREATHING |
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD |
diff --git a/keyboards/sawnsprojects/vcl65/solder/config.h b/keyboards/sawnsprojects/vcl65/solder/config.h index c18b8e95f1..4fd203480c 100644 --- a/keyboards/sawnsprojects/vcl65/solder/config.h +++ b/keyboards/sawnsprojects/vcl65/solder/config.h | |||
| @@ -20,7 +20,6 @@ | |||
| 20 | #define RGBLIGHT_HUE_STEP 8 | 20 | #define RGBLIGHT_HUE_STEP 8 |
| 21 | #define RGBLIGHT_SAT_STEP 8 | 21 | #define RGBLIGHT_SAT_STEP 8 |
| 22 | #define RGBLIGHT_VAL_STEP 8 | 22 | #define RGBLIGHT_VAL_STEP 8 |
| 23 | #define RGBLIGHT_LIMIT_VAL 200 /* The maximum brightness level */ | ||
| 24 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | 23 | #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ |
| 25 | /*== all animations enable ==*/ | 24 | /*== all animations enable ==*/ |
| 26 | /*== all animations enable ==*/ | 25 | /*== all animations enable ==*/ |
diff --git a/keyboards/sawnsprojects/vcl65/solder/info.json b/keyboards/sawnsprojects/vcl65/solder/info.json index 53804fd87e..47b141ad4e 100644 --- a/keyboards/sawnsprojects/vcl65/solder/info.json +++ b/keyboards/sawnsprojects/vcl65/solder/info.json | |||
| @@ -20,6 +20,9 @@ | |||
| 20 | "ws2812": { | 20 | "ws2812": { |
| 21 | "pin": "B7" | 21 | "pin": "B7" |
| 22 | }, | 22 | }, |
| 23 | "rgblight": { | ||
| 24 | "max_brightness": 200 | ||
| 25 | }, | ||
| 23 | "processor": "atmega32u4", | 26 | "processor": "atmega32u4", |
| 24 | "bootloader": "atmel-dfu", | 27 | "bootloader": "atmel-dfu", |
| 25 | "community_layouts": [ | 28 | "community_layouts": [ |
