Add function for running the next keyframe
This commit is contained in:
parent
444132edd0
commit
891edbd533
2 changed files with 18 additions and 0 deletions
|
@ -106,6 +106,9 @@ extern GDisplay* LED_DISPLAY;
|
|||
|
||||
void start_keyframe_animation(keyframe_animation_t* animation);
|
||||
void stop_keyframe_animation(keyframe_animation_t* animation);
|
||||
// This runs the next keyframe, but does not update the animation state
|
||||
// Useful for crossfades for example
|
||||
void run_next_keyframe(keyframe_animation_t* animation, visualizer_state_t* state);
|
||||
|
||||
// Some predefined keyframe functions that can be used by the user code
|
||||
// Does nothing, useful for adding delays
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue