diff options
| author | Ryan <fauxpark@gmail.com> | 2023-08-24 07:11:39 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-23 22:11:39 +0100 |
| commit | 023d644bb69748d97feb49091e2c24f3fcd3da11 (patch) | |
| tree | 1f8039d1fdf8408487eb5db0bee542e6f7d08af3 /keyboards/25keys | |
| parent | 79491e35e1c2abd30620dec21d6073515065cc1a (diff) | |
Move RGBLight animations to data driven (#21635)
* Move RGBLight animations to data driven, 0-9
* Move RGBLight animations to data driven, A
* Move RGBLight animations to data driven, B
* Move RGBLight animations to data driven, C
* Move RGBLight animations to data driven, D
* Move RGBLight animations to data driven, E
* Move RGBLight animations to data driven, F
* Move RGBLight animations to data driven, G
* Move RGBLight animations to data driven, H
* Move RGBLight animations to data driven, handwired
* Move RGBLight animations to data driven, I
* Move RGBLight animations to data driven, J
* Move RGBLight animations to data driven, K
* Move RGBLight animations to data driven, L
* Move RGBLight animations to data driven, M
* Move RGBLight animations to data driven, N
* Move RGBLight animations to data driven, O
* Move RGBLight animations to data driven, P
* Move RGBLight animations to data driven, Q
* Move RGBLight animations to data driven, R
* Move RGBLight animations to data driven, S
* Move RGBLight animations to data driven, T
* Move RGBLight animations to data driven, U
* Move RGBLight animations to data driven, V
* Move RGBLight animations to data driven, W
* Move RGBLight animations to data driven, X
* Move RGBLight animations to data driven, Y
* Move RGBLight animations to data driven, Z
* Fix incorrect placement
* Fix build failures and mismatches
Diffstat (limited to 'keyboards/25keys')
| -rw-r--r-- | keyboards/25keys/aleth42/rev0/config.h | 11 | ||||
| -rw-r--r-- | keyboards/25keys/aleth42/rev0/info.json | 14 | ||||
| -rw-r--r-- | keyboards/25keys/aleth42/rev1/config.h | 11 | ||||
| -rw-r--r-- | keyboards/25keys/aleth42/rev1/info.json | 14 | ||||
| -rw-r--r-- | keyboards/25keys/cassette42/config.h | 11 | ||||
| -rw-r--r-- | keyboards/25keys/cassette42/info.json | 14 |
6 files changed, 39 insertions, 36 deletions
diff --git a/keyboards/25keys/aleth42/rev0/config.h b/keyboards/25keys/aleth42/rev0/config.h index 8d9b7022b5..0d7a5de560 100644 --- a/keyboards/25keys/aleth42/rev0/config.h +++ b/keyboards/25keys/aleth42/rev0/config.h | |||
| @@ -17,17 +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_EFFECT_BREATHING | ||
| 21 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 22 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 23 | # define RGBLIGHT_EFFECT_SNAKE | ||
| 24 | # define RGBLIGHT_EFFECT_KNIGHT | ||
| 25 | # define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 26 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 27 | # define RGBLIGHT_EFFECT_RGB_TEST | ||
| 28 | # define RGBLIGHT_EFFECT_ALTERNATING | ||
| 29 | # define RGBLIGHT_EFFECT_TWINKLE | ||
| 30 | |||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 33 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
diff --git a/keyboards/25keys/aleth42/rev0/info.json b/keyboards/25keys/aleth42/rev0/info.json index 5232b7626a..675c741bf5 100644 --- a/keyboards/25keys/aleth42/rev0/info.json +++ b/keyboards/25keys/aleth42/rev0/info.json | |||
| @@ -17,7 +17,19 @@ | |||
| 17 | "saturation_steps": 8, | 17 | "saturation_steps": 8, |
| 18 | "brightness_steps": 8, | 18 | "brightness_steps": 8, |
| 19 | "led_count": 6, | 19 | "led_count": 6, |
| 20 | "sleep": true | 20 | "sleep": true, |
| 21 | "animations": { | ||
| 22 | "breathing": true, | ||
| 23 | "rainbow_mood": true, | ||
| 24 | "rainbow_swirl": true, | ||
| 25 | "snake": true, | ||
| 26 | "knight": true, | ||
| 27 | "christmas": true, | ||
| 28 | "static_gradient": true, | ||
| 29 | "rgb_test": true, | ||
| 30 | "alternating": true, | ||
| 31 | "twinkle": true | ||
| 32 | } | ||
| 21 | }, | 33 | }, |
| 22 | "ws2812": { | 34 | "ws2812": { |
| 23 | "pin": "C7" | 35 | "pin": "C7" |
diff --git a/keyboards/25keys/aleth42/rev1/config.h b/keyboards/25keys/aleth42/rev1/config.h index 8d9b7022b5..0d7a5de560 100644 --- a/keyboards/25keys/aleth42/rev1/config.h +++ b/keyboards/25keys/aleth42/rev1/config.h | |||
| @@ -17,17 +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_EFFECT_BREATHING | ||
| 21 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 22 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 23 | # define RGBLIGHT_EFFECT_SNAKE | ||
| 24 | # define RGBLIGHT_EFFECT_KNIGHT | ||
| 25 | # define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 26 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 27 | # define RGBLIGHT_EFFECT_RGB_TEST | ||
| 28 | # define RGBLIGHT_EFFECT_ALTERNATING | ||
| 29 | # define RGBLIGHT_EFFECT_TWINKLE | ||
| 30 | |||
| 31 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | 20 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ |
| 32 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 33 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
diff --git a/keyboards/25keys/aleth42/rev1/info.json b/keyboards/25keys/aleth42/rev1/info.json index 702e7af27c..fd4b07fe3e 100644 --- a/keyboards/25keys/aleth42/rev1/info.json +++ b/keyboards/25keys/aleth42/rev1/info.json | |||
| @@ -17,7 +17,19 @@ | |||
| 17 | "saturation_steps": 8, | 17 | "saturation_steps": 8, |
| 18 | "brightness_steps": 8, | 18 | "brightness_steps": 8, |
| 19 | "led_count": 8, | 19 | "led_count": 8, |
| 20 | "sleep": true | 20 | "sleep": true, |
| 21 | "animations": { | ||
| 22 | "breathing": true, | ||
| 23 | "rainbow_mood": true, | ||
| 24 | "rainbow_swirl": true, | ||
| 25 | "snake": true, | ||
| 26 | "knight": true, | ||
| 27 | "christmas": true, | ||
| 28 | "static_gradient": true, | ||
| 29 | "rgb_test": true, | ||
| 30 | "alternating": true, | ||
| 31 | "twinkle": true | ||
| 32 | } | ||
| 21 | }, | 33 | }, |
| 22 | "ws2812": { | 34 | "ws2812": { |
| 23 | "pin": "B3" | 35 | "pin": "B3" |
diff --git a/keyboards/25keys/cassette42/config.h b/keyboards/25keys/cassette42/config.h index fa69a3dd58..915e161e8b 100644 --- a/keyboards/25keys/cassette42/config.h +++ b/keyboards/25keys/cassette42/config.h | |||
| @@ -17,15 +17,4 @@ 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_EFFECT_BREATHING | ||
| 21 | # define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 22 | # define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 23 | # define RGBLIGHT_EFFECT_SNAKE | ||
| 24 | # define RGBLIGHT_EFFECT_KNIGHT | ||
| 25 | # define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 26 | # define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 27 | # define RGBLIGHT_EFFECT_RGB_TEST | ||
| 28 | # define RGBLIGHT_EFFECT_ALTERNATING | ||
| 29 | # define RGBLIGHT_EFFECT_TWINKLE | ||
| 30 | |||
| 31 | #define OLED_FONT_H "keyboards/25keys/cassette42/common/glcdfont.c" | 20 | #define OLED_FONT_H "keyboards/25keys/cassette42/common/glcdfont.c" |
diff --git a/keyboards/25keys/cassette42/info.json b/keyboards/25keys/cassette42/info.json index e75214b662..38a73368f6 100644 --- a/keyboards/25keys/cassette42/info.json +++ b/keyboards/25keys/cassette42/info.json | |||
| @@ -18,7 +18,19 @@ | |||
| 18 | "saturation_steps": 8, | 18 | "saturation_steps": 8, |
| 19 | "brightness_steps": 8, | 19 | "brightness_steps": 8, |
| 20 | "led_count": 5, | 20 | "led_count": 5, |
| 21 | "sleep": true | 21 | "sleep": true, |
| 22 | "animations": { | ||
| 23 | "breathing": true, | ||
| 24 | "rainbow_mood": true, | ||
| 25 | "rainbow_swirl": true, | ||
| 26 | "snake": true, | ||
| 27 | "knight": true, | ||
| 28 | "christmas": true, | ||
| 29 | "static_gradient": true, | ||
| 30 | "rgb_test": true, | ||
| 31 | "alternating": true, | ||
| 32 | "twinkle": true | ||
| 33 | } | ||
| 22 | }, | 34 | }, |
| 23 | "ws2812": { | 35 | "ws2812": { |
| 24 | "pin": "D3" | 36 | "pin": "D3" |
