Move common visualizer keyframes into visualizer_keyframes.h
This commit is contained in:
parent
64d63ab422
commit
b7041d06ae
7 changed files with 54 additions and 12 deletions
|
@ -34,7 +34,7 @@ SOFTWARE.
|
|||
#include "lcd_backlight.h"
|
||||
#endif
|
||||
|
||||
// use this function to merget both real_mods and oneshot_mods in a uint16_t
|
||||
// use this function to merge both real_mods and oneshot_mods in a uint16_t
|
||||
uint8_t visualizer_get_mods(void);
|
||||
|
||||
// This need to be called once at the start
|
||||
|
@ -126,10 +126,6 @@ void stop_keyframe_animation(keyframe_animation_t* animation);
|
|||
// 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
|
||||
bool keyframe_no_operation(keyframe_animation_t* animation, visualizer_state_t* state);
|
||||
|
||||
// The master can set userdata which will be transferred to the slave
|
||||
#ifdef VISUALIZER_USER_DATA_SIZE
|
||||
void visualizer_set_user_data(void* user_data);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue