diff options
author | Drashna Jaelre <drashna@live.com> | 2019-01-25 16:04:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-25 16:04:21 -0800 |
commit | 0306e487e2cd6a77ad840d0a441b478747b7ccd0 (patch) | |
tree | 52d34a051c1c9195b68ae4179b06777f387996b6 /tmk_core/protocol/arm_atsam/led_matrix.h | |
parent | 1d3b9eea940908d02b6c2deda5d744a73cd838da (diff) | |
parent | 6ca52c9d571659463a526fdeabb86af10c8e1665 (diff) | |
download | qmk_firmware-0306e487e2cd6a77ad840d0a441b478747b7ccd0.tar.gz qmk_firmware-0306e487e2cd6a77ad840d0a441b478747b7ccd0.zip |
Circular animation (#4796)
* Add ability to animate arm_atsam led matrix from the center of a circle
* Make arm_atsam led matrix circular animation circular rather than obloid
* Fix indentation in tmk_core led_matrix.c
Diffstat (limited to 'tmk_core/protocol/arm_atsam/led_matrix.h')
-rw-r--r-- | tmk_core/protocol/arm_atsam/led_matrix.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/protocol/arm_atsam/led_matrix.h b/tmk_core/protocol/arm_atsam/led_matrix.h index cedea8a856..4513234e7f 100644 --- a/tmk_core/protocol/arm_atsam/led_matrix.h +++ b/tmk_core/protocol/arm_atsam/led_matrix.h @@ -83,6 +83,7 @@ typedef struct led_disp_s { float bottom; float width; float height; + float max_distance; } led_disp_t; uint8_t led_matrix_init(void); @@ -129,6 +130,7 @@ extern uint8_t led_animation_orientation; extern uint8_t led_animation_breathing; extern uint8_t led_animation_breathe_cur; extern uint8_t breathe_dir; +extern uint8_t led_animation_circular; extern const uint8_t led_setups_count; extern void *led_setups[]; |