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/winkeyless | |
| 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/winkeyless')
| -rw-r--r-- | keyboards/winkeyless/b87/config.h | 29 | ||||
| -rw-r--r-- | keyboards/winkeyless/b87/info.json | 14 | ||||
| -rw-r--r-- | keyboards/winkeyless/bface/config.h | 30 | ||||
| -rw-r--r-- | keyboards/winkeyless/bface/info.json | 14 | ||||
| -rw-r--r-- | keyboards/winkeyless/bmini/config.h | 29 | ||||
| -rw-r--r-- | keyboards/winkeyless/bmini/info.json | 14 | ||||
| -rw-r--r-- | keyboards/winkeyless/bminiex/config.h | 29 | ||||
| -rw-r--r-- | keyboards/winkeyless/bminiex/info.json | 14 |
8 files changed, 52 insertions, 121 deletions
diff --git a/keyboards/winkeyless/b87/config.h b/keyboards/winkeyless/b87/config.h deleted file mode 100644 index 5ab439e574..0000000000 --- a/keyboards/winkeyless/b87/config.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* Copyright 2021 Joah Nelson (Jels) | ||
| 2 | * | ||
| 3 | * This program is free software: you can redistribute it and/or modify | ||
| 4 | * it under the terms of the GNU General Public License as published by | ||
| 5 | * the Free Software Foundation, either version 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope that it will be useful, | ||
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 11 | * GNU General Public License for more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License | ||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | // RGB effects | ||
| 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 | ||
diff --git a/keyboards/winkeyless/b87/info.json b/keyboards/winkeyless/b87/info.json index 1b2e0f25c2..8a5f6fdbea 100644 --- a/keyboards/winkeyless/b87/info.json +++ b/keyboards/winkeyless/b87/info.json | |||
| @@ -17,7 +17,19 @@ | |||
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 20 | 20 | "led_count": 20, |
| 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 | "driver": "i2c" | 35 | "driver": "i2c" |
diff --git a/keyboards/winkeyless/bface/config.h b/keyboards/winkeyless/bface/config.h deleted file mode 100644 index e24f2037b0..0000000000 --- a/keyboards/winkeyless/bface/config.h +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com> | ||
| 3 | Copyright 2017 Sebastian Kaim <sebastian.kaim@sebb767.de> | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #pragma once | ||
| 20 | |||
| 21 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 22 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 23 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 24 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 25 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 26 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 27 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 28 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 29 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 30 | #define RGBLIGHT_EFFECT_TWINKLE | ||
diff --git a/keyboards/winkeyless/bface/info.json b/keyboards/winkeyless/bface/info.json index 2b31d7c3ab..6e8369272f 100644 --- a/keyboards/winkeyless/bface/info.json +++ b/keyboards/winkeyless/bface/info.json | |||
| @@ -17,7 +17,19 @@ | |||
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 16 | 20 | "led_count": 16, |
| 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 | "driver": "i2c" | 35 | "driver": "i2c" |
diff --git a/keyboards/winkeyless/bmini/config.h b/keyboards/winkeyless/bmini/config.h deleted file mode 100644 index d849732a07..0000000000 --- a/keyboards/winkeyless/bmini/config.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 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 | ||
diff --git a/keyboards/winkeyless/bmini/info.json b/keyboards/winkeyless/bmini/info.json index 10a51febc0..05c6fbe9b8 100644 --- a/keyboards/winkeyless/bmini/info.json +++ b/keyboards/winkeyless/bmini/info.json | |||
| @@ -17,7 +17,19 @@ | |||
| 17 | "pin": "D4" | 17 | "pin": "D4" |
| 18 | }, | 18 | }, |
| 19 | "rgblight": { | 19 | "rgblight": { |
| 20 | "led_count": 16 | 20 | "led_count": 16, |
| 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 | "driver": "i2c" | 35 | "driver": "i2c" |
diff --git a/keyboards/winkeyless/bminiex/config.h b/keyboards/winkeyless/bminiex/config.h deleted file mode 100644 index d849732a07..0000000000 --- a/keyboards/winkeyless/bminiex/config.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2017 Luiz Ribeiro <luizribeiro@gmail.com> | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 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 | ||
diff --git a/keyboards/winkeyless/bminiex/info.json b/keyboards/winkeyless/bminiex/info.json index 24d205334c..fbd0f9b024 100644 --- a/keyboards/winkeyless/bminiex/info.json +++ b/keyboards/winkeyless/bminiex/info.json | |||
| @@ -18,7 +18,19 @@ | |||
| 18 | "levels": 5 | 18 | "levels": 5 |
| 19 | }, | 19 | }, |
| 20 | "rgblight": { | 20 | "rgblight": { |
| 21 | "led_count": 20 | 21 | "led_count": 20, |
| 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 | "driver": "i2c" | 36 | "driver": "i2c" |
