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/keyhive | |
| 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/keyhive')
| -rw-r--r-- | keyboards/keyhive/absinthe/config.h | 10 | ||||
| -rw-r--r-- | keyboards/keyhive/absinthe/info.json | 8 | ||||
| -rw-r--r-- | keyboards/keyhive/ergosaurus/config.h | 12 | ||||
| -rw-r--r-- | keyboards/keyhive/ergosaurus/info.json | 8 | ||||
| -rw-r--r-- | keyboards/keyhive/smallice/config.h | 29 | ||||
| -rw-r--r-- | keyboards/keyhive/smallice/info.json | 14 | ||||
| -rw-r--r-- | keyboards/keyhive/uno/rev1/config.h | 19 | ||||
| -rw-r--r-- | keyboards/keyhive/uno/rev1/info.json | 5 | ||||
| -rw-r--r-- | keyboards/keyhive/uno/rev2/config.h | 19 | ||||
| -rw-r--r-- | keyboards/keyhive/uno/rev2/info.json | 5 | ||||
| -rw-r--r-- | keyboards/keyhive/ut472/config.h | 11 | ||||
| -rw-r--r-- | keyboards/keyhive/ut472/info.json | 14 |
12 files changed, 48 insertions, 106 deletions
diff --git a/keyboards/keyhive/absinthe/config.h b/keyboards/keyhive/absinthe/config.h index e303f99372..37867c3cd1 100644 --- a/keyboards/keyhive/absinthe/config.h +++ b/keyboards/keyhive/absinthe/config.h | |||
| @@ -17,16 +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 | |||
| 30 | /* 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 */ |
| 31 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 32 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
diff --git a/keyboards/keyhive/absinthe/info.json b/keyboards/keyhive/absinthe/info.json index 78c558b032..1496756d9a 100644 --- a/keyboards/keyhive/absinthe/info.json +++ b/keyboards/keyhive/absinthe/info.json | |||
| @@ -12,7 +12,13 @@ | |||
| 12 | "saturation_steps": 8, | 12 | "saturation_steps": 8, |
| 13 | "brightness_steps": 8, | 13 | "brightness_steps": 8, |
| 14 | "led_count": 32, | 14 | "led_count": 32, |
| 15 | "sleep": true | 15 | "sleep": true, |
| 16 | "animations": { | ||
| 17 | "breathing": true, | ||
| 18 | "rainbow_mood": true, | ||
| 19 | "rainbow_swirl": true, | ||
| 20 | "static_gradient": true | ||
| 21 | } | ||
| 16 | }, | 22 | }, |
| 17 | "ws2812": { | 23 | "ws2812": { |
| 18 | "pin": "B0" | 24 | "pin": "B0" |
diff --git a/keyboards/keyhive/ergosaurus/config.h b/keyboards/keyhive/ergosaurus/config.h index e87ada125b..39eec86786 100644 --- a/keyboards/keyhive/ergosaurus/config.h +++ b/keyboards/keyhive/ergosaurus/config.h | |||
| @@ -17,18 +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 | #ifdef RGBLIGHT_ENABLE | ||
| 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 | #endif | ||
| 31 | |||
| 32 | /* 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 */ |
| 33 | #define LOCKING_SUPPORT_ENABLE | 21 | #define LOCKING_SUPPORT_ENABLE |
| 34 | /* Locking resynchronize hack */ | 22 | /* Locking resynchronize hack */ |
diff --git a/keyboards/keyhive/ergosaurus/info.json b/keyboards/keyhive/ergosaurus/info.json index cca059f667..76d1988da0 100644 --- a/keyboards/keyhive/ergosaurus/info.json +++ b/keyboards/keyhive/ergosaurus/info.json | |||
| @@ -15,7 +15,13 @@ | |||
| 15 | "brightness_steps": 8, | 15 | "brightness_steps": 8, |
| 16 | "led_count": 32, | 16 | "led_count": 32, |
| 17 | "max_brightness": 200, | 17 | "max_brightness": 200, |
| 18 | "sleep": true | 18 | "sleep": true, |
| 19 | "animations": { | ||
| 20 | "breathing": true, | ||
| 21 | "rainbow_mood": true, | ||
| 22 | "rainbow_swirl": true, | ||
| 23 | "static_gradient": true | ||
| 24 | } | ||
| 19 | }, | 25 | }, |
| 20 | "matrix_pins": { | 26 | "matrix_pins": { |
| 21 | "cols": ["D7", "C6", "D0", "D1", "F7", "B1", "B3", "B2"], | 27 | "cols": ["D7", "C6", "D0", "D1", "F7", "B1", "B3", "B2"], |
diff --git a/keyboards/keyhive/smallice/config.h b/keyboards/keyhive/smallice/config.h deleted file mode 100644 index 2cd149f6eb..0000000000 --- a/keyboards/keyhive/smallice/config.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 quark | ||
| 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/keyhive/smallice/info.json b/keyboards/keyhive/smallice/info.json index 5e48c53c5a..fae716f820 100644 --- a/keyboards/keyhive/smallice/info.json +++ b/keyboards/keyhive/smallice/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": 12, | 14 | "led_count": 12, |
| 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": "B7" | 30 | "pin": "B7" |
diff --git a/keyboards/keyhive/uno/rev1/config.h b/keyboards/keyhive/uno/rev1/config.h deleted file mode 100644 index 2783955239..0000000000 --- a/keyboards/keyhive/uno/rev1/config.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* Copyright 2020 Snipeye | ||
| 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 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
diff --git a/keyboards/keyhive/uno/rev1/info.json b/keyboards/keyhive/uno/rev1/info.json index 7e5030ba2a..61121267d7 100644 --- a/keyboards/keyhive/uno/rev1/info.json +++ b/keyboards/keyhive/uno/rev1/info.json | |||
| @@ -4,7 +4,10 @@ | |||
| 4 | "device_version": "0.0.1" | 4 | "device_version": "0.0.1" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 1 | 7 | "led_count": 1, |
| 8 | "animations": { | ||
| 9 | "rainbow_mood": true | ||
| 10 | } | ||
| 8 | }, | 11 | }, |
| 9 | "ws2812": { | 12 | "ws2812": { |
| 10 | "pin": "F6" | 13 | "pin": "F6" |
diff --git a/keyboards/keyhive/uno/rev2/config.h b/keyboards/keyhive/uno/rev2/config.h deleted file mode 100644 index 2783955239..0000000000 --- a/keyboards/keyhive/uno/rev2/config.h +++ /dev/null | |||
| @@ -1,19 +0,0 @@ | |||
| 1 | /* Copyright 2020 Snipeye | ||
| 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 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
diff --git a/keyboards/keyhive/uno/rev2/info.json b/keyboards/keyhive/uno/rev2/info.json index cfa07576da..908c254bab 100644 --- a/keyboards/keyhive/uno/rev2/info.json +++ b/keyboards/keyhive/uno/rev2/info.json | |||
| @@ -4,7 +4,10 @@ | |||
| 4 | "device_version": "0.0.2" | 4 | "device_version": "0.0.2" |
| 5 | }, | 5 | }, |
| 6 | "rgblight": { | 6 | "rgblight": { |
| 7 | "led_count": 1 | 7 | "led_count": 1, |
| 8 | "animations": { | ||
| 9 | "rainbow_mood": true | ||
| 10 | } | ||
| 8 | }, | 11 | }, |
| 9 | "ws2812": { | 12 | "ws2812": { |
| 10 | "pin": "D1" | 13 | "pin": "D1" |
diff --git a/keyboards/keyhive/ut472/config.h b/keyboards/keyhive/ut472/config.h index f13992154d..8dd82d2464 100644 --- a/keyboards/keyhive/ut472/config.h +++ b/keyboards/keyhive/ut472/config.h | |||
| @@ -20,14 +20,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 20 | #define LOCKING_SUPPORT_ENABLE | 20 | #define LOCKING_SUPPORT_ENABLE |
| 21 | /* Locking resynchronize hack */ | 21 | /* Locking resynchronize hack */ |
| 22 | #define LOCKING_RESYNC_ENABLE | 22 | #define LOCKING_RESYNC_ENABLE |
| 23 | |||
| 24 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 25 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 26 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 27 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 28 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 29 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 30 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 31 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 32 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 33 | #define RGBLIGHT_EFFECT_TWINKLE | ||
diff --git a/keyboards/keyhive/ut472/info.json b/keyboards/keyhive/ut472/info.json index d2211016e7..6c3dd26eef 100644 --- a/keyboards/keyhive/ut472/info.json +++ b/keyboards/keyhive/ut472/info.json | |||
| @@ -11,7 +11,19 @@ | |||
| 11 | "rgblight": { | 11 | "rgblight": { |
| 12 | "saturation_steps": 8, | 12 | "saturation_steps": 8, |
| 13 | "brightness_steps": 8, | 13 | "brightness_steps": 8, |
| 14 | "led_count": 8 | 14 | "led_count": 8, |
| 15 | "animations": { | ||
| 16 | "breathing": true, | ||
| 17 | "rainbow_mood": true, | ||
| 18 | "rainbow_swirl": true, | ||
| 19 | "snake": true, | ||
| 20 | "knight": true, | ||
| 21 | "christmas": true, | ||
| 22 | "static_gradient": true, | ||
| 23 | "rgb_test": true, | ||
| 24 | "alternating": true, | ||
| 25 | "twinkle": true | ||
| 26 | } | ||
| 15 | }, | 27 | }, |
| 16 | "ws2812": { | 28 | "ws2812": { |
| 17 | "pin": "C6" | 29 | "pin": "C6" |
