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/visualizer.h | |
parent | 7feadbd66d5c80b1c39c565864bb1af0d1e87874 (diff) | |
parent | 086aad0d7e5770e0be36498e5f569af5a23b111c (diff) | |
download | firmware-51a86b85f35769533124d209c990aee18965ea6b.tar.gz firmware-51a86b85f35769533124d209c990aee18965ea6b.tar.bz2 firmware-51a86b85f35769533124d209c990aee18965ea6b.zip |
Merge pull request #1361 from fredizzimo/ergodox_infinity_backlight
Add Ergodox Infinity backlight support
Diffstat (limited to 'quantum/visualizer/visualizer.h')
-rw-r--r-- | quantum/visualizer/visualizer.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/quantum/visualizer/visualizer.h b/quantum/visualizer/visualizer.h index d6f279e10..1c567440f 100644 --- a/quantum/visualizer/visualizer.h +++ b/quantum/visualizer/visualizer.h @@ -34,6 +34,10 @@ SOFTWARE. #include "lcd_backlight.h" #endif +#ifdef BACKLIGHT_ENABLE +#include "backlight.h" +#endif + // use this function to merge both real_mods and oneshot_mods in a uint16_t uint8_t visualizer_get_mods(void); @@ -65,9 +69,12 @@ struct keyframe_animation_t; typedef struct { uint32_t layer; uint32_t default_layer; - uint8_t mods; uint32_t leds; // See led.h for available statuses + uint8_t mods; bool suspended; +#ifdef BACKLIGHT_ENABLE + uint8_t backlight_level; +#endif #ifdef VISUALIZER_USER_DATA_SIZE uint8_t user_data[VISUALIZER_USER_DATA_SIZE]; #endif |