Add backlight support to the default Ergodox Infinity animations
This commit is contained in:
parent
2a7f9a7e46
commit
b51a0db6ed
3 changed files with 75 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue