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/draytronics | |
| 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/draytronics')
| -rw-r--r-- | keyboards/draytronics/daisy/config.h | 13 | ||||
| -rw-r--r-- | keyboards/draytronics/daisy/info.json | 14 | ||||
| -rw-r--r-- | keyboards/draytronics/elise/config.h | 13 | ||||
| -rw-r--r-- | keyboards/draytronics/elise/info.json | 14 | ||||
| -rw-r--r-- | keyboards/draytronics/elise_v2/config.h | 13 | ||||
| -rw-r--r-- | keyboards/draytronics/elise_v2/info.json | 14 |
6 files changed, 39 insertions, 42 deletions
diff --git a/keyboards/draytronics/daisy/config.h b/keyboards/draytronics/daisy/config.h index 398395b40a..96a4395584 100644 --- a/keyboards/draytronics/daisy/config.h +++ b/keyboards/draytronics/daisy/config.h | |||
| @@ -35,16 +35,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 35 | //#define NO_ACTION_LAYER | 35 | //#define NO_ACTION_LAYER |
| 36 | //#define NO_ACTION_TAPPING | 36 | //#define NO_ACTION_TAPPING |
| 37 | //#define NO_ACTION_ONESHOT | 37 | //#define NO_ACTION_ONESHOT |
| 38 | |||
| 39 | //Underglow | ||
| 40 | /*== all animations enable ==*/ | ||
| 41 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 42 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 43 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 44 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 45 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 46 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 47 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 48 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 49 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 50 | #define RGBLIGHT_EFFECT_TWINKLE | ||
diff --git a/keyboards/draytronics/daisy/info.json b/keyboards/draytronics/daisy/info.json index ad5244159e..4597ca9d17 100644 --- a/keyboards/draytronics/daisy/info.json +++ b/keyboards/draytronics/daisy/info.json | |||
| @@ -26,7 +26,19 @@ | |||
| 26 | "saturation_steps": 8, | 26 | "saturation_steps": 8, |
| 27 | "brightness_steps": 8, | 27 | "brightness_steps": 8, |
| 28 | "led_count": 4, | 28 | "led_count": 4, |
| 29 | "sleep": true | 29 | "sleep": true, |
| 30 | "animations": { | ||
| 31 | "breathing": true, | ||
| 32 | "rainbow_mood": true, | ||
| 33 | "rainbow_swirl": true, | ||
| 34 | "snake": true, | ||
| 35 | "knight": true, | ||
| 36 | "christmas": true, | ||
| 37 | "static_gradient": true, | ||
| 38 | "rgb_test": true, | ||
| 39 | "alternating": true, | ||
| 40 | "twinkle": true | ||
| 41 | } | ||
| 30 | }, | 42 | }, |
| 31 | "ws2812": { | 43 | "ws2812": { |
| 32 | "pin": "D4" | 44 | "pin": "D4" |
diff --git a/keyboards/draytronics/elise/config.h b/keyboards/draytronics/elise/config.h index 717fe910e8..0df48812aa 100644 --- a/keyboards/draytronics/elise/config.h +++ b/keyboards/draytronics/elise/config.h | |||
| @@ -22,16 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define LOCKING_SUPPORT_ENABLE | 22 | #define LOCKING_SUPPORT_ENABLE |
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | |||
| 26 | // ws2812 options | ||
| 27 | /*== all animations enable ==*/ | ||
| 28 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 31 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 32 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 33 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 34 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | ||
diff --git a/keyboards/draytronics/elise/info.json b/keyboards/draytronics/elise/info.json index 4da4c88e11..80f4fa69e5 100644 --- a/keyboards/draytronics/elise/info.json +++ b/keyboards/draytronics/elise/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": 7, | 19 | "led_count": 7, |
| 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": "D1" | 35 | "pin": "D1" |
diff --git a/keyboards/draytronics/elise_v2/config.h b/keyboards/draytronics/elise_v2/config.h index 717fe910e8..0df48812aa 100644 --- a/keyboards/draytronics/elise_v2/config.h +++ b/keyboards/draytronics/elise_v2/config.h | |||
| @@ -22,16 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 22 | #define LOCKING_SUPPORT_ENABLE | 22 | #define LOCKING_SUPPORT_ENABLE |
| 23 | /* Locking resynchronize hack */ | 23 | /* Locking resynchronize hack */ |
| 24 | #define LOCKING_RESYNC_ENABLE | 24 | #define LOCKING_RESYNC_ENABLE |
| 25 | |||
| 26 | // ws2812 options | ||
| 27 | /*== all animations enable ==*/ | ||
| 28 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 29 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 30 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 31 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 32 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 33 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 34 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 35 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 36 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 37 | #define RGBLIGHT_EFFECT_TWINKLE | ||
diff --git a/keyboards/draytronics/elise_v2/info.json b/keyboards/draytronics/elise_v2/info.json index eefce17778..966ca3faa4 100644 --- a/keyboards/draytronics/elise_v2/info.json +++ b/keyboards/draytronics/elise_v2/info.json | |||
| @@ -12,7 +12,19 @@ | |||
| 12 | "saturation_steps": 8, | 12 | "saturation_steps": 8, |
| 13 | "brightness_steps": 8, | 13 | "brightness_steps": 8, |
| 14 | "led_count": 16, | 14 | "led_count": 16, |
| 15 | "sleep": true | 15 | "sleep": true, |
| 16 | "animations": { | ||
| 17 | "breathing": true, | ||
| 18 | "rainbow_mood": true, | ||
| 19 | "rainbow_swirl": true, | ||
| 20 | "snake": true, | ||
| 21 | "knight": true, | ||
| 22 | "christmas": true, | ||
| 23 | "static_gradient": true, | ||
| 24 | "rgb_test": true, | ||
| 25 | "alternating": true, | ||
| 26 | "twinkle": true | ||
| 27 | } | ||
| 16 | }, | 28 | }, |
| 17 | "ws2812": { | 29 | "ws2812": { |
| 18 | "pin": "D1" | 30 | "pin": "D1" |
