diff options
author | Jack Humbert <jack.humb@gmail.com> | 2017-06-18 10:15:02 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-18 10:15:02 -0400 |
commit | 51a86b85f35769533124d209c990aee18965ea6b (patch) | |
tree | 9951b7b99125472ffc4c4af15a764a0083dc1297 /quantum/visualizer/led_keyframes.c | |
parent | 7feadbd66d5c80b1c39c565864bb1af0d1e87874 (diff) | |
parent | 086aad0d7e5770e0be36498e5f569af5a23b111c (diff) |
Merge pull request #1361 from fredizzimo/ergodox_infinity_backlight
Add Ergodox Infinity backlight support
Diffstat (limited to 'quantum/visualizer/led_keyframes.c')
-rw-r--r-- | quantum/visualizer/led_keyframes.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/quantum/visualizer/led_keyframes.c b/quantum/visualizer/led_keyframes.c index 2dacd990d1..c14491e5e1 100644 --- a/quantum/visualizer/led_keyframes.c +++ b/quantum/visualizer/led_keyframes.c @@ -127,3 +127,17 @@ bool led_keyframe_normal_orientation(keyframe_animation_t* animation, visualizer gdispGSetOrientation(LED_DISPLAY, GDISP_ROTATE_0); return false; } + +bool led_keyframe_disable(keyframe_animation_t* animation, visualizer_state_t* state) { + (void)state; + (void)animation; + gdispGSetPowerMode(LED_DISPLAY, powerOff); + return false; +} + +bool led_keyframe_enable(keyframe_animation_t* animation, visualizer_state_t* state) { + (void)state; + (void)animation; + gdispGSetPowerMode(LED_DISPLAY, powerOn); + return false; +} |