summaryrefslogtreecommitdiff
path: root/keyboards/alf
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-08-24 07:11:39 +1000
committerGitHub <noreply@github.com>2023-08-23 22:11:39 +0100
commit023d644bb69748d97feb49091e2c24f3fcd3da11 (patch)
tree1f8039d1fdf8408487eb5db0bee542e6f7d08af3 /keyboards/alf
parent79491e35e1c2abd30620dec21d6073515065cc1a (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/alf')
-rw-r--r--keyboards/alf/dc60/config.h11
-rw-r--r--keyboards/alf/dc60/info.json14
-rw-r--r--keyboards/alf/x11/config.h11
-rw-r--r--keyboards/alf/x11/info.json14
-rw-r--r--keyboards/alf/x2/config.h11
-rw-r--r--keyboards/alf/x2/info.json14
6 files changed, 39 insertions, 36 deletions
diff --git a/keyboards/alf/dc60/config.h b/keyboards/alf/dc60/config.h
index 62c2837ebe..d876570c80 100644
--- a/keyboards/alf/dc60/config.h
+++ b/keyboards/alf/dc60/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/alf/dc60/info.json b/keyboards/alf/dc60/info.json
index 9c3f8e8b8f..906b78c10e 100644
--- a/keyboards/alf/dc60/info.json
+++ b/keyboards/alf/dc60/info.json
@@ -20,7 +20,19 @@
20 "rgblight": { 20 "rgblight": {
21 "saturation_steps": 8, 21 "saturation_steps": 8,
22 "brightness_steps": 8, 22 "brightness_steps": 8,
23 "led_count": 20 23 "led_count": 20,
24 "animations": {
25 "breathing": true,
26 "rainbow_mood": true,
27 "rainbow_swirl": true,
28 "snake": true,
29 "knight": true,
30 "christmas": true,
31 "static_gradient": true,
32 "rgb_test": true,
33 "alternating": true,
34 "twinkle": true
35 }
24 }, 36 },
25 "ws2812": { 37 "ws2812": {
26 "pin": "E6" 38 "pin": "E6"
diff --git a/keyboards/alf/x11/config.h b/keyboards/alf/x11/config.h
index bf4b9cff60..b5b661bef2 100644
--- a/keyboards/alf/x11/config.h
+++ b/keyboards/alf/x11/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/alf/x11/info.json b/keyboards/alf/x11/info.json
index cc2c29a6f6..1d1508fc11 100644
--- a/keyboards/alf/x11/info.json
+++ b/keyboards/alf/x11/info.json
@@ -21,7 +21,19 @@
21 "saturation_steps": 8, 21 "saturation_steps": 8,
22 "brightness_steps": 8, 22 "brightness_steps": 8,
23 "led_count": 28, 23 "led_count": 28,
24 "sleep": true 24 "sleep": true,
25 "animations": {
26 "breathing": true,
27 "rainbow_mood": true,
28 "rainbow_swirl": true,
29 "snake": true,
30 "knight": true,
31 "christmas": true,
32 "static_gradient": true,
33 "rgb_test": true,
34 "alternating": true,
35 "twinkle": true
36 }
25 }, 37 },
26 "ws2812": { 38 "ws2812": {
27 "pin": "F7" 39 "pin": "F7"
diff --git a/keyboards/alf/x2/config.h b/keyboards/alf/x2/config.h
index d3d6a8b100..02460e0bed 100644
--- a/keyboards/alf/x2/config.h
+++ b/keyboards/alf/x2/config.h
@@ -21,14 +21,3 @@
21 21
22/* Locking resynchronize hack */ 22/* Locking resynchronize hack */
23#define LOCKING_RESYNC_ENABLE 23#define LOCKING_RESYNC_ENABLE
24
25# define RGBLIGHT_EFFECT_BREATHING
26# define RGBLIGHT_EFFECT_RAINBOW_MOOD
27# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
28# define RGBLIGHT_EFFECT_SNAKE
29# define RGBLIGHT_EFFECT_KNIGHT
30# define RGBLIGHT_EFFECT_CHRISTMAS
31# define RGBLIGHT_EFFECT_STATIC_GRADIENT
32# define RGBLIGHT_EFFECT_RGB_TEST
33# define RGBLIGHT_EFFECT_ALTERNATING
34# define RGBLIGHT_EFFECT_TWINKLE
diff --git a/keyboards/alf/x2/info.json b/keyboards/alf/x2/info.json
index 7a7dad29b6..a7e76061f6 100644
--- a/keyboards/alf/x2/info.json
+++ b/keyboards/alf/x2/info.json
@@ -20,7 +20,19 @@
20 "rgblight": { 20 "rgblight": {
21 "saturation_steps": 8, 21 "saturation_steps": 8,
22 "brightness_steps": 8, 22 "brightness_steps": 8,
23 "led_count": 4 23 "led_count": 4,
24 "animations": {
25 "breathing": true,
26 "rainbow_mood": true,
27 "rainbow_swirl": true,
28 "snake": true,
29 "knight": true,
30 "christmas": true,
31 "static_gradient": true,
32 "rgb_test": true,
33 "alternating": true,
34 "twinkle": true
35 }
24 }, 36 },
25 "ws2812": { 37 "ws2812": {
26 "pin": "E2" 38 "pin": "E2"