Start to open up the LED API so we can call it from other code, like we have to do in testmode

pull/24/head
Jesse Vincent 8 years ago
parent 9b5fe7b65d
commit 143b0fdfe4

@ -35,6 +35,8 @@ class LEDControl_ {
void update(uint8_t current_keymap);
void type_letter(uint8_t letter);
void set_mode(uint8_t mode);
void set_all_leds_to(uint8_t r, uint8_t g, uint8_t b);
void effect_rainbow_update();
private:
uint8_t led_mode = 0;
@ -79,14 +81,12 @@ class LEDControl_ {
void effect_heatmap_init();
void effect_breathe_update();
void effect_rainbow_update();
void effect_rainbow_wave_update();
void effect_chase_update();
void effect_steady_update();
void effect_heatmap_update();
void effect_numlock_update();
void set_all_leds_to(cRGB color);
void set_all_leds_to(uint8_t r, uint8_t g, uint8_t b);
void initialize_led_mode(uint8_t mode);
};

Loading…
Cancel
Save