summaryrefslogtreecommitdiffstats
path: root/tmk_core/protocol/arm_atsam/led_matrix.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-01-26 01:04:21 +0100
committerGitHub <noreply@github.com>2019-01-26 01:04:21 +0100
commit0306e487e2cd6a77ad840d0a441b478747b7ccd0 (patch)
tree52d34a051c1c9195b68ae4179b06777f387996b6 /tmk_core/protocol/arm_atsam/led_matrix.h
parent1d3b9eea940908d02b6c2deda5d744a73cd838da (diff)
parent6ca52c9d571659463a526fdeabb86af10c8e1665 (diff)
downloadqmk_firmware-0306e487e2cd6a77ad840d0a441b478747b7ccd0.tar.gz
qmk_firmware-0306e487e2cd6a77ad840d0a441b478747b7ccd0.tar.xz
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.h2
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 cedea8a85..4513234e7 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[];