summaryrefslogtreecommitdiff
path: root/keyboards/kapl
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/kapl
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/kapl')
-rw-r--r--keyboards/kapl/rev1/config.h9
-rw-r--r--keyboards/kapl/rev1/info.json10
2 files changed, 9 insertions, 10 deletions
diff --git a/keyboards/kapl/rev1/config.h b/keyboards/kapl/rev1/config.h
index 19c039315c..c5c9ada22b 100644
--- a/keyboards/kapl/rev1/config.h
+++ b/keyboards/kapl/rev1/config.h
@@ -10,15 +10,6 @@
10#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash. 10#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 120 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
11#define SPLIT_TRANSPORT_MIRROR 11#define SPLIT_TRANSPORT_MIRROR
12 12
13#ifdef RGBLIGHT_ENABLE
14#define RGBLIGHT_EFFECT_BREATHING
15#define RGBLIGHT_EFFECT_RAINBOW_MOOD
16#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
17#define RGBLIGHT_EFFECT_CHRISTMAS
18#define RGBLIGHT_EFFECT_STATIC_GRADIENT
19#define RGBLIGHT_EFFECT_TWINKLE
20#endif
21
22#ifdef RGB_MATRIX_ENABLE 13#ifdef RGB_MATRIX_ENABLE
23// EFFECTS 14// EFFECTS
24#define ENABLE_RGB_MATRIX_ALPHAS_MODS 15#define ENABLE_RGB_MATRIX_ALPHAS_MODS
diff --git a/keyboards/kapl/rev1/info.json b/keyboards/kapl/rev1/info.json
index 2f79c130ef..5ef44ccaaa 100644
--- a/keyboards/kapl/rev1/info.json
+++ b/keyboards/kapl/rev1/info.json
@@ -20,7 +20,15 @@
20 "brightness_steps": 16, 20 "brightness_steps": 16,
21 "led_count": 88, 21 "led_count": 88,
22 "max_brightness": 120, 22 "max_brightness": 120,
23 "split_count": [44, 44] 23 "split_count": [44, 44],
24 "animations": {
25 "breathing": true,
26 "rainbow_mood": true,
27 "rainbow_swirl": true,
28 "christmas": true,
29 "static_gradient": true,
30 "twinkle": true
31 }
24 }, 32 },
25 "matrix_pins": { 33 "matrix_pins": {
26 "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"], 34 "cols": ["F5", "F6", "F7", "B1", "B3", "B2", "B6"],