diff options
Diffstat (limited to 'quantum/visualizer/lcd_backlight_keyframes.c')
-rw-r--r-- | quantum/visualizer/lcd_backlight_keyframes.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/quantum/visualizer/lcd_backlight_keyframes.c b/quantum/visualizer/lcd_backlight_keyframes.c index 096473708..8436d4e3d 100644 --- a/quantum/visualizer/lcd_backlight_keyframes.c +++ b/quantum/visualizer/lcd_backlight_keyframes.c | |||
@@ -59,3 +59,19 @@ bool backlight_keyframe_set_color(keyframe_animation_t* animation, visualizer_st | |||
59 | LCD_INT(state->current_lcd_color)); | 59 | LCD_INT(state->current_lcd_color)); |
60 | return false; | 60 | return false; |
61 | } | 61 | } |
62 | |||
63 | bool backlight_keyframe_disable(keyframe_animation_t* animation, visualizer_state_t* state) { | ||
64 | (void)animation; | ||
65 | (void)state; | ||
66 | lcd_backlight_hal_color(0, 0, 0); | ||
67 | return false; | ||
68 | } | ||
69 | |||
70 | bool backlight_keyframe_enable(keyframe_animation_t* animation, visualizer_state_t* state) { | ||
71 | (void)animation; | ||
72 | (void)state; | ||
73 | lcd_backlight_color(LCD_HUE(state->current_lcd_color), | ||
74 | LCD_SAT(state->current_lcd_color), | ||
75 | LCD_INT(state->current_lcd_color)); | ||
76 | return false; | ||
77 | } | ||