diff options
| author | Fred Sundvik <fsundvik@gmail.com> | 2017-04-05 10:14:24 +0300 |
|---|---|---|
| committer | Fred Sundvik <fsundvik@gmail.com> | 2017-04-09 18:34:59 +0300 |
| commit | b7041d06aef4dcf2f2a47504a699e538cfb1d9ac (patch) | |
| tree | 7478e6a52667d312ebfb7e46d56378fa948a51b9 /quantum/visualizer/visualizer.h | |
| parent | 64d63ab42281318d891434fbc00277043298dd70 (diff) | |
| download | qmk_firmware-b7041d06aef4dcf2f2a47504a699e538cfb1d9ac.tar.gz qmk_firmware-b7041d06aef4dcf2f2a47504a699e538cfb1d9ac.zip | |
Move common visualizer keyframes into visualizer_keyframes.h
Diffstat (limited to 'quantum/visualizer/visualizer.h')
| -rw-r--r-- | quantum/visualizer/visualizer.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/quantum/visualizer/visualizer.h b/quantum/visualizer/visualizer.h index 463934849..d6f279e10 100644 --- a/quantum/visualizer/visualizer.h +++ b/quantum/visualizer/visualizer.h | |||
| @@ -34,7 +34,7 @@ SOFTWARE. | |||
| 34 | #include "lcd_backlight.h" | 34 | #include "lcd_backlight.h" |
| 35 | #endif | 35 | #endif |
| 36 | 36 | ||
| 37 | // use this function to merget both real_mods and oneshot_mods in a uint16_t | 37 | // use this function to merge both real_mods and oneshot_mods in a uint16_t |
| 38 | uint8_t visualizer_get_mods(void); | 38 | uint8_t visualizer_get_mods(void); |
| 39 | 39 | ||
| 40 | // This need to be called once at the start | 40 | // This need to be called once at the start |
| @@ -126,10 +126,6 @@ void stop_keyframe_animation(keyframe_animation_t* animation); | |||
| 126 | // Useful for crossfades for example | 126 | // Useful for crossfades for example |
| 127 | void run_next_keyframe(keyframe_animation_t* animation, visualizer_state_t* state); | 127 | void run_next_keyframe(keyframe_animation_t* animation, visualizer_state_t* state); |
| 128 | 128 | ||
| 129 | // Some predefined keyframe functions that can be used by the user code | ||
| 130 | // Does nothing, useful for adding delays | ||
| 131 | bool keyframe_no_operation(keyframe_animation_t* animation, visualizer_state_t* state); | ||
| 132 | |||
| 133 | // The master can set userdata which will be transferred to the slave | 129 | // The master can set userdata which will be transferred to the slave |
| 134 | #ifdef VISUALIZER_USER_DATA_SIZE | 130 | #ifdef VISUALIZER_USER_DATA_SIZE |
| 135 | void visualizer_set_user_data(void* user_data); | 131 | void visualizer_set_user_data(void* user_data); |
