diff options
Diffstat (limited to 'keyboards/whitefox/animations.c')
| -rw-r--r-- | keyboards/whitefox/animations.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/keyboards/whitefox/animations.c b/keyboards/whitefox/animations.c index ed1d75efb..a15d46ccd 100644 --- a/keyboards/whitefox/animations.c +++ b/keyboards/whitefox/animations.c | |||
| @@ -20,7 +20,7 @@ | |||
| 20 | #include "visualizer.h" | 20 | #include "visualizer.h" |
| 21 | 21 | ||
| 22 | #ifdef BACKLIGHT_ENABLE | 22 | #ifdef BACKLIGHT_ENABLE |
| 23 | #include "led_keyframes.h" | 23 | #include "led_backlight_keyframes.h" |
| 24 | #endif | 24 | #endif |
| 25 | 25 | ||
| 26 | #include "visualizer_keyframes.h" | 26 | #include "visualizer_keyframes.h" |
| @@ -30,14 +30,14 @@ | |||
| 30 | 30 | ||
| 31 | static bool keyframe_enable(keyframe_animation_t* animation, visualizer_state_t* state) { | 31 | static bool keyframe_enable(keyframe_animation_t* animation, visualizer_state_t* state) { |
| 32 | #ifdef BACKLIGHT_ENABLE | 32 | #ifdef BACKLIGHT_ENABLE |
| 33 | led_keyframe_enable(animation, state); | 33 | led_backlight_keyframe_enable(animation, state); |
| 34 | #endif | 34 | #endif |
| 35 | return false; | 35 | return false; |
| 36 | } | 36 | } |
| 37 | 37 | ||
| 38 | static bool keyframe_disable(keyframe_animation_t* animation, visualizer_state_t* state) { | 38 | static bool keyframe_disable(keyframe_animation_t* animation, visualizer_state_t* state) { |
| 39 | #ifdef BACKLIGHT_ENABLE | 39 | #ifdef BACKLIGHT_ENABLE |
| 40 | led_keyframe_disable(animation, state); | 40 | led_backlight_keyframe_disable(animation, state); |
| 41 | #endif | 41 | #endif |
| 42 | return false; | 42 | return false; |
| 43 | } | 43 | } |
| @@ -45,7 +45,7 @@ static bool keyframe_disable(keyframe_animation_t* animation, visualizer_state_t | |||
| 45 | static bool keyframe_fade_in(keyframe_animation_t* animation, visualizer_state_t* state) { | 45 | static bool keyframe_fade_in(keyframe_animation_t* animation, visualizer_state_t* state) { |
| 46 | bool ret = false; | 46 | bool ret = false; |
| 47 | #ifdef BACKLIGHT_ENABLE | 47 | #ifdef BACKLIGHT_ENABLE |
| 48 | ret |= led_keyframe_fade_in_all(animation, state); | 48 | ret |= led_backlight_keyframe_fade_in_all(animation, state); |
| 49 | #endif | 49 | #endif |
| 50 | return ret; | 50 | return ret; |
| 51 | } | 51 | } |
| @@ -53,7 +53,7 @@ static bool keyframe_fade_in(keyframe_animation_t* animation, visualizer_state_t | |||
| 53 | static bool keyframe_fade_out(keyframe_animation_t* animation, visualizer_state_t* state) { | 53 | static bool keyframe_fade_out(keyframe_animation_t* animation, visualizer_state_t* state) { |
| 54 | bool ret = false; | 54 | bool ret = false; |
| 55 | #ifdef BACKLIGHT_ENABLE | 55 | #ifdef BACKLIGHT_ENABLE |
| 56 | ret |= led_keyframe_fade_out_all(animation, state); | 56 | ret |= led_backlight_keyframe_fade_out_all(animation, state); |
| 57 | #endif | 57 | #endif |
| 58 | return ret; | 58 | return ret; |
| 59 | } | 59 | } |
| @@ -107,20 +107,20 @@ keyframe_animation_t led_test_animation = { | |||
| 107 | 107 | ||
| 108 | }, | 108 | }, |
| 109 | .frame_functions = { | 109 | .frame_functions = { |
| 110 | led_keyframe_fade_in_all, | 110 | led_backlight_keyframe_fade_in_all, |
| 111 | keyframe_no_operation, | 111 | keyframe_no_operation, |
| 112 | led_keyframe_fade_out_all, | 112 | led_backlight_keyframe_fade_out_all, |
| 113 | led_keyframe_crossfade, | 113 | led_backlight_keyframe_crossfade, |
| 114 | led_keyframe_left_to_right_gradient, | 114 | led_backlight_keyframe_left_to_right_gradient, |
| 115 | led_keyframe_crossfade, | 115 | led_backlight_keyframe_crossfade, |
| 116 | led_keyframe_top_to_bottom_gradient, | 116 | led_backlight_keyframe_top_to_bottom_gradient, |
| 117 | led_keyframe_mirror_orientation, | 117 | led_backlight_keyframe_mirror_orientation, |
| 118 | led_keyframe_crossfade, | 118 | led_backlight_keyframe_crossfade, |
| 119 | led_keyframe_left_to_right_gradient, | 119 | led_backlight_keyframe_left_to_right_gradient, |
| 120 | led_keyframe_crossfade, | 120 | led_backlight_keyframe_crossfade, |
| 121 | led_keyframe_top_to_bottom_gradient, | 121 | led_backlight_keyframe_top_to_bottom_gradient, |
| 122 | led_keyframe_normal_orientation, | 122 | led_backlight_keyframe_normal_orientation, |
| 123 | led_keyframe_crossfade, | 123 | led_backlight_keyframe_crossfade, |
| 124 | }, | 124 | }, |
| 125 | }; | 125 | }; |
| 126 | #endif | 126 | #endif |
