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/alf | |
| 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/alf')
| -rw-r--r-- | keyboards/alf/dc60/config.h | 3 | ||||
| -rw-r--r-- | keyboards/alf/dc60/info.json | 2 | ||||
| -rw-r--r-- | keyboards/alf/x11/config.h | 3 | ||||
| -rw-r--r-- | keyboards/alf/x11/info.json | 2 | ||||
| -rw-r--r-- | keyboards/alf/x2/config.h | 3 | ||||
| -rw-r--r-- | keyboards/alf/x2/info.json | 2 |
6 files changed, 6 insertions, 9 deletions
diff --git a/keyboards/alf/dc60/config.h b/keyboards/alf/dc60/config.h index 8d1b1dad39..62c2837ebe 100644 --- a/keyboards/alf/dc60/config.h +++ b/keyboards/alf/dc60/config.h | |||
| @@ -27,9 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 27 | #define RGBLIGHT_EFFECT_RGB_TEST | 27 | #define RGBLIGHT_EFFECT_RGB_TEST |
| 28 | #define RGBLIGHT_EFFECT_ALTERNATING | 28 | #define RGBLIGHT_EFFECT_ALTERNATING |
| 29 | #define RGBLIGHT_EFFECT_TWINKLE | 29 | #define RGBLIGHT_EFFECT_TWINKLE |
| 30 | #define RGBLIGHT_HUE_STEP 8 | ||
| 31 | #define RGBLIGHT_SAT_STEP 8 | ||
| 32 | #define RGBLIGHT_VAL_STEP 8 | ||
| 33 | 30 | ||
| 34 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 35 | #define LOCKING_SUPPORT_ENABLE | 32 | #define LOCKING_SUPPORT_ENABLE |
diff --git a/keyboards/alf/dc60/info.json b/keyboards/alf/dc60/info.json index d3f680fa4a..9c3f8e8b8f 100644 --- a/keyboards/alf/dc60/info.json +++ b/keyboards/alf/dc60/info.json | |||
| @@ -18,6 +18,8 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "saturation_steps": 8, | ||
| 22 | "brightness_steps": 8, | ||
| 21 | "led_count": 20 | 23 | "led_count": 20 |
| 22 | }, | 24 | }, |
| 23 | "ws2812": { | 25 | "ws2812": { |
diff --git a/keyboards/alf/x11/config.h b/keyboards/alf/x11/config.h index 1b60bb4dcf..bf4b9cff60 100644 --- a/keyboards/alf/x11/config.h +++ b/keyboards/alf/x11/config.h | |||
| @@ -17,9 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #pragma once | 18 | #pragma once |
| 19 | 19 | ||
| 20 | #define RGBLIGHT_HUE_STEP 8 | ||
| 21 | #define RGBLIGHT_SAT_STEP 8 | ||
| 22 | #define RGBLIGHT_VAL_STEP 8 | ||
| 23 | # define RGBLIGHT_EFFECT_BREATHING | 20 | # define RGBLIGHT_EFFECT_BREATHING |
| 24 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | 21 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD |
| 25 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | 22 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL |
diff --git a/keyboards/alf/x11/info.json b/keyboards/alf/x11/info.json index b25c832847..cc2c29a6f6 100644 --- a/keyboards/alf/x11/info.json +++ b/keyboards/alf/x11/info.json | |||
| @@ -18,6 +18,8 @@ | |||
| 18 | "breathing": true | 18 | "breathing": true |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "saturation_steps": 8, | ||
| 22 | "brightness_steps": 8, | ||
| 21 | "led_count": 28, | 23 | "led_count": 28, |
| 22 | "sleep": true | 24 | "sleep": true |
| 23 | }, | 25 | }, |
diff --git a/keyboards/alf/x2/config.h b/keyboards/alf/x2/config.h index 9368693119..d3d6a8b100 100644 --- a/keyboards/alf/x2/config.h +++ b/keyboards/alf/x2/config.h | |||
| @@ -32,6 +32,3 @@ | |||
| 32 | # define RGBLIGHT_EFFECT_RGB_TEST | 32 | # define RGBLIGHT_EFFECT_RGB_TEST |
| 33 | # define RGBLIGHT_EFFECT_ALTERNATING | 33 | # define RGBLIGHT_EFFECT_ALTERNATING |
| 34 | # define RGBLIGHT_EFFECT_TWINKLE | 34 | # define RGBLIGHT_EFFECT_TWINKLE |
| 35 | # define RGBLIGHT_HUE_STEP 8 | ||
| 36 | # define RGBLIGHT_SAT_STEP 8 | ||
| 37 | # define RGBLIGHT_VAL_STEP 8 | ||
diff --git a/keyboards/alf/x2/info.json b/keyboards/alf/x2/info.json index ce2549d92e..7a7dad29b6 100644 --- a/keyboards/alf/x2/info.json +++ b/keyboards/alf/x2/info.json | |||
| @@ -18,6 +18,8 @@ | |||
| 18 | "on_state": 0 | 18 | "on_state": 0 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "saturation_steps": 8, | ||
| 22 | "brightness_steps": 8, | ||
| 21 | "led_count": 4 | 23 | "led_count": 4 |
| 22 | }, | 24 | }, |
| 23 | "ws2812": { | 25 | "ws2812": { |
