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/sawnsprojects | |
| 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/sawnsprojects')
| -rw-r--r-- | keyboards/sawnsprojects/amber80/solder/config.h | 29 | ||||
| -rw-r--r-- | keyboards/sawnsprojects/amber80/solder/info.json | 13 | ||||
| -rw-r--r-- | keyboards/sawnsprojects/krush/krush60/solder/config.h | 29 | ||||
| -rw-r--r-- | keyboards/sawnsprojects/krush/krush60/solder/info.json | 14 | ||||
| -rw-r--r-- | keyboards/sawnsprojects/krush/krush65/hotswap/config.h | 30 | ||||
| -rw-r--r-- | keyboards/sawnsprojects/krush/krush65/hotswap/info.json | 14 | ||||
| -rw-r--r-- | keyboards/sawnsprojects/krush/krush65/solder/config.h | 29 | ||||
| -rw-r--r-- | keyboards/sawnsprojects/krush/krush65/solder/info.json | 14 | ||||
| -rw-r--r-- | keyboards/sawnsprojects/satxri6key/config.h | 11 | ||||
| -rw-r--r-- | keyboards/sawnsprojects/satxri6key/info.json | 14 | ||||
| -rw-r--r-- | keyboards/sawnsprojects/vcl65/solder/config.h | 29 | ||||
| -rw-r--r-- | keyboards/sawnsprojects/vcl65/solder/info.json | 14 |
12 files changed, 77 insertions, 163 deletions
diff --git a/keyboards/sawnsprojects/amber80/solder/config.h b/keyboards/sawnsprojects/amber80/solder/config.h deleted file mode 100644 index 17220860b4..0000000000 --- a/keyboards/sawnsprojects/amber80/solder/config.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* Copyright 2022 SawnsProjects | ||
| 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 */ | ||
| 20 | // /*== or choose animations ==*/ | ||
| 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 | ||
diff --git a/keyboards/sawnsprojects/amber80/solder/info.json b/keyboards/sawnsprojects/amber80/solder/info.json index 8bb41b0731..f6c458a9b7 100644 --- a/keyboards/sawnsprojects/amber80/solder/info.json +++ b/keyboards/sawnsprojects/amber80/solder/info.json | |||
| @@ -22,7 +22,18 @@ | |||
| 22 | "saturation_steps": 8, | 22 | "saturation_steps": 8, |
| 23 | "brightness_steps": 8, | 23 | "brightness_steps": 8, |
| 24 | "led_count": 22, | 24 | "led_count": 22, |
| 25 | "sleep": true | 25 | "sleep": true, |
| 26 | "animations": { | ||
| 27 | "breathing": true, | ||
| 28 | "rainbow_mood": true, | ||
| 29 | "rainbow_swirl": true, | ||
| 30 | "snake": true, | ||
| 31 | "knight": true, | ||
| 32 | "christmas": true, | ||
| 33 | "static_gradient": true, | ||
| 34 | "rgb_test": true, | ||
| 35 | "alternating": true | ||
| 36 | } | ||
| 26 | }, | 37 | }, |
| 27 | "ws2812": { | 38 | "ws2812": { |
| 28 | "pin": "D2" | 39 | "pin": "D2" |
diff --git a/keyboards/sawnsprojects/krush/krush60/solder/config.h b/keyboards/sawnsprojects/krush/krush60/solder/config.h deleted file mode 100644 index a1c767be61..0000000000 --- a/keyboards/sawnsprojects/krush/krush60/solder/config.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* Copyright 2021 SawnsProjects | ||
| 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 | /*== all animations enable ==*/ | ||
| 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/sawnsprojects/krush/krush60/solder/info.json b/keyboards/sawnsprojects/krush/krush60/solder/info.json index 40addc5f36..7aeb5ad38a 100644 --- a/keyboards/sawnsprojects/krush/krush60/solder/info.json +++ b/keyboards/sawnsprojects/krush/krush60/solder/info.json | |||
| @@ -25,7 +25,19 @@ | |||
| 25 | "brightness_steps": 8, | 25 | "brightness_steps": 8, |
| 26 | "led_count": 20, | 26 | "led_count": 20, |
| 27 | "max_brightness": 200, | 27 | "max_brightness": 200, |
| 28 | "sleep": true | 28 | "sleep": true, |
| 29 | "animations": { | ||
| 30 | "breathing": true, | ||
| 31 | "rainbow_mood": true, | ||
| 32 | "rainbow_swirl": true, | ||
| 33 | "snake": true, | ||
| 34 | "knight": true, | ||
| 35 | "christmas": true, | ||
| 36 | "static_gradient": true, | ||
| 37 | "rgb_test": true, | ||
| 38 | "alternating": true, | ||
| 39 | "twinkle": true | ||
| 40 | } | ||
| 29 | }, | 41 | }, |
| 30 | "processor": "atmega32u4", | 42 | "processor": "atmega32u4", |
| 31 | "bootloader": "atmel-dfu", | 43 | "bootloader": "atmel-dfu", |
diff --git a/keyboards/sawnsprojects/krush/krush65/hotswap/config.h b/keyboards/sawnsprojects/krush/krush65/hotswap/config.h deleted file mode 100644 index 54868685fc..0000000000 --- a/keyboards/sawnsprojects/krush/krush65/hotswap/config.h +++ /dev/null | |||
| @@ -1,30 +0,0 @@ | |||
| 1 | /* Copyright 2021 SawnsProjects | ||
| 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 */ | ||
| 20 | /*== all animations 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 | #define RGBLIGHT_EFFECT_TWINKLE | ||
diff --git a/keyboards/sawnsprojects/krush/krush65/hotswap/info.json b/keyboards/sawnsprojects/krush/krush65/hotswap/info.json index 4552519533..5f8036cd3a 100644 --- a/keyboards/sawnsprojects/krush/krush65/hotswap/info.json +++ b/keyboards/sawnsprojects/krush/krush65/hotswap/info.json | |||
| @@ -30,7 +30,19 @@ | |||
| 30 | "brightness_steps": 8, | 30 | "brightness_steps": 8, |
| 31 | "led_count": 20, | 31 | "led_count": 20, |
| 32 | "max_brightness": 200, | 32 | "max_brightness": 200, |
| 33 | "sleep": true | 33 | "sleep": true, |
| 34 | "animations": { | ||
| 35 | "breathing": true, | ||
| 36 | "rainbow_mood": true, | ||
| 37 | "rainbow_swirl": true, | ||
| 38 | "snake": true, | ||
| 39 | "knight": true, | ||
| 40 | "christmas": true, | ||
| 41 | "static_gradient": true, | ||
| 42 | "rgb_test": true, | ||
| 43 | "alternating": true, | ||
| 44 | "twinkle": true | ||
| 45 | } | ||
| 34 | }, | 46 | }, |
| 35 | "processor": "atmega32u4", | 47 | "processor": "atmega32u4", |
| 36 | "bootloader": "atmel-dfu", | 48 | "bootloader": "atmel-dfu", |
diff --git a/keyboards/sawnsprojects/krush/krush65/solder/config.h b/keyboards/sawnsprojects/krush/krush65/solder/config.h deleted file mode 100644 index 8f8bbbde84..0000000000 --- a/keyboards/sawnsprojects/krush/krush65/solder/config.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* Copyright 2021 SawnsProjects | ||
| 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 | /*== all animations enable ==*/ | ||
| 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 \ No newline at end of file | ||
diff --git a/keyboards/sawnsprojects/krush/krush65/solder/info.json b/keyboards/sawnsprojects/krush/krush65/solder/info.json index 42dbc0060d..853f95b45e 100644 --- a/keyboards/sawnsprojects/krush/krush65/solder/info.json +++ b/keyboards/sawnsprojects/krush/krush65/solder/info.json | |||
| @@ -30,7 +30,19 @@ | |||
| 30 | "brightness_steps": 8, | 30 | "brightness_steps": 8, |
| 31 | "led_count": 20, | 31 | "led_count": 20, |
| 32 | "max_brightness": 200, | 32 | "max_brightness": 200, |
| 33 | "sleep": true | 33 | "sleep": true, |
| 34 | "animations": { | ||
| 35 | "breathing": true, | ||
| 36 | "rainbow_mood": true, | ||
| 37 | "rainbow_swirl": true, | ||
| 38 | "snake": true, | ||
| 39 | "knight": true, | ||
| 40 | "christmas": true, | ||
| 41 | "static_gradient": true, | ||
| 42 | "rgb_test": true, | ||
| 43 | "alternating": true, | ||
| 44 | "twinkle": true | ||
| 45 | } | ||
| 34 | }, | 46 | }, |
| 35 | "processor": "atmega32u4", | 47 | "processor": "atmega32u4", |
| 36 | "bootloader": "atmel-dfu", | 48 | "bootloader": "atmel-dfu", |
diff --git a/keyboards/sawnsprojects/satxri6key/config.h b/keyboards/sawnsprojects/satxri6key/config.h index 76bf7bffcc..d649c698ab 100644 --- a/keyboards/sawnsprojects/satxri6key/config.h +++ b/keyboards/sawnsprojects/satxri6key/config.h | |||
| @@ -16,17 +16,6 @@ | |||
| 16 | 16 | ||
| 17 | #pragma once | 17 | #pragma once |
| 18 | 18 | ||
| 19 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 20 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 21 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 22 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 23 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 24 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 25 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 26 | #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 27 | #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 28 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 29 | |||
| 30 | #define RGB_MATRIX_LED_COUNT 6 | 19 | #define RGB_MATRIX_LED_COUNT 6 |
| 31 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | 20 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses |
| 32 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | 21 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) |
diff --git a/keyboards/sawnsprojects/satxri6key/info.json b/keyboards/sawnsprojects/satxri6key/info.json index b9047bed4b..5d92db728a 100644 --- a/keyboards/sawnsprojects/satxri6key/info.json +++ b/keyboards/sawnsprojects/satxri6key/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": 6, | 14 | "led_count": 6, |
| 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": "F0" | 30 | "pin": "F0" |
diff --git a/keyboards/sawnsprojects/vcl65/solder/config.h b/keyboards/sawnsprojects/vcl65/solder/config.h deleted file mode 100644 index a1c767be61..0000000000 --- a/keyboards/sawnsprojects/vcl65/solder/config.h +++ /dev/null | |||
| @@ -1,29 +0,0 @@ | |||
| 1 | /* Copyright 2021 SawnsProjects | ||
| 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 | /*== all animations enable ==*/ | ||
| 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/sawnsprojects/vcl65/solder/info.json b/keyboards/sawnsprojects/vcl65/solder/info.json index 1473cb5132..a7c3975ccf 100644 --- a/keyboards/sawnsprojects/vcl65/solder/info.json +++ b/keyboards/sawnsprojects/vcl65/solder/info.json | |||
| @@ -25,7 +25,19 @@ | |||
| 25 | "brightness_steps": 8, | 25 | "brightness_steps": 8, |
| 26 | "led_count": 20, | 26 | "led_count": 20, |
| 27 | "max_brightness": 200, | 27 | "max_brightness": 200, |
| 28 | "sleep": true | 28 | "sleep": true, |
| 29 | "animations": { | ||
| 30 | "breathing": true, | ||
| 31 | "rainbow_mood": true, | ||
| 32 | "rainbow_swirl": true, | ||
| 33 | "snake": true, | ||
| 34 | "knight": true, | ||
| 35 | "christmas": true, | ||
| 36 | "static_gradient": true, | ||
| 37 | "rgb_test": true, | ||
| 38 | "alternating": true, | ||
| 39 | "twinkle": true | ||
| 40 | } | ||
| 29 | }, | 41 | }, |
| 30 | "processor": "atmega32u4", | 42 | "processor": "atmega32u4", |
| 31 | "bootloader": "atmel-dfu", | 43 | "bootloader": "atmel-dfu", |
