diff options
author | Ian O'Dea <ianodea@gmail.com> | 2018-12-06 17:58:58 +0100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-12-06 17:58:58 +0100 |
commit | 21bc230dfdc29a03d6cf08b9c0ac438eadd3bf42 (patch) | |
tree | ca3db2a8cf13e20a354601dae722f7e50d605fbd /tmk_core/protocol/arm_atsam/led_matrix.h | |
parent | 42c9fd262585c9ba46a726604d60eb6c42b3cda7 (diff) | |
download | qmk_firmware-21bc230dfdc29a03d6cf08b9c0ac438eadd3bf42.tar.gz qmk_firmware-21bc230dfdc29a03d6cf08b9c0ac438eadd3bf42.tar.xz |
Vertical animation support for arm_atsam led_matrix (#4538)
* Add initial support for vertically-oriented animations
* DRY up vertical animation support
* Fix animation code for arm_atsam led_matrix to work in all directions
* Adjust py calculation to base off bottom rather than top
Diffstat (limited to 'tmk_core/protocol/arm_atsam/led_matrix.h')
-rw-r--r-- | tmk_core/protocol/arm_atsam/led_matrix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tmk_core/protocol/arm_atsam/led_matrix.h b/tmk_core/protocol/arm_atsam/led_matrix.h index 3f2b9cdb8..cedea8a85 100644 --- a/tmk_core/protocol/arm_atsam/led_matrix.h +++ b/tmk_core/protocol/arm_atsam/led_matrix.h @@ -125,6 +125,7 @@ extern uint8_t led_enabled; extern float led_animation_speed; extern uint8_t led_lighting_mode; extern uint8_t led_animation_direction; +extern uint8_t led_animation_orientation; extern uint8_t led_animation_breathing; extern uint8_t led_animation_breathe_cur; extern uint8_t breathe_dir; |